My question about autonomous transaction

Поиск
Список
Период
Сортировка
От 高健
Тема My question about autonomous transaction
Дата
Msg-id CAL454F0_N0oj0NPVRxMQkLJ9V+tryRzefaQyOSnDWnbvsC-Cpg@mail.gmail.com
обсуждение исходный текст
Ответы Re: My question about autonomous transaction  ("Adrian.Vondendriesch" <Adrian.Vondendriesch@credativ.de>)
Список pgsql-general

Hello:

 

I have found the following wiki about autonomous transaction:

https://wiki.postgresql.org/wiki/Autonomous_subtransactions

 

But when I test it, I found the following error:

 

pgsql=# BEGIN;

BEGIN

pgsql=# INSERT INTO tab01 VALUES (1);

INSERT 0 1

pgsql=# BEGIN SUBTRANSACTION;

ERROR:  syntax error at or near "SUBTRANSACTION"

LINE 1: BEGIN SUBTRANSACTION;

              ^

pgsql=# 

 

So that sub transaction is still not supported in PostgreSQL,

Is my understanding right?

 

Best Regards

В списке pgsql-general по дате отправления:

Предыдущее
От: itishree sukla
Дата:
Сообщение: Support for Foreign keys with arrays
Следующее
От: Raymond O'Donnell
Дата:
Сообщение: Re: PERFORM statement