v11 transaction semantics inside procedures

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема v11 transaction semantics inside procedures
Дата
Msg-id CADK3HH+AvemrqbzYXm_mVC994Yv2TSa5YAyUSDm-xsQH9PUnug@mail.gmail.com
обсуждение исходный текст
Ответы Re: v11 transaction semantics inside procedures  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Is there somewhere that the transaction semantics inside a procedure are documented ? From what I can tell transactions start from the first DML statement and end implicitly when the procedure exits. Commit or Rollback can be called anytime inside the transaction and this implicitly starts another transaction.

Is there anything else I am missing ? Does DDL get applied after the transaction ends ?

I do find this somewhat surprising as Postgres typically requires a BEGIN statement to start a transaction block.

Thanks
Dave Cramer

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

Предыдущее
От: Christoph Berg
Дата:
Сообщение: Re: [patch] Support LLVM 7
Следующее
От: Tom Lane
Дата:
Сообщение: Re: generating bootstrap entries for array types