A question about functions and transactions.

Поиск
Список
Период
Сортировка
Искать

A question about functions and transactions.

От:
Dave Peticolas <dave@krondo.com>
Дата:
Вложения:
Do stored functions (say, in plpgsql) run in their own transaction?

thanks,
dave


Re: A question about functions and transactions.

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Dave Peticolas  writes:
> Do stored functions (say, in plpgsql) run in their own transaction?

Nope, they are part of the transaction of the query that invokes them.

Postgres doesn't have nested transactions (not yet, anyway).

			regards, tom lane
FAQ