Search Postgresql Archives

Postgresql prepared transactions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I do following commands

test=# BEGIN;
BEGIN
test=# insert into testxa1 values(1);
INSERT 0 1
test=# insert ddddduuuuuppppp;
ERROR:  syntax error at or near "ddddduuuuuppppp"
LINE 1: insert ddddduuuuuppppp;
               ^
test=# PREPARE TRANSACTION 'a';
ROLLBACK

Why on prepare transaction I got rollback. If I skip error, each RM will try 
to do two-phase commit, but it's looks impossible to do two-phase commit.

Regards,
Radek

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux