Re: Autonomous Transaction (WIP)
| От | Ian Barwick |
|---|---|
| Тема | Re: Autonomous Transaction (WIP) |
| Дата | |
| Msg-id | 53424D27.6020000@2ndquadrant.com обсуждение исходный текст |
| Ответ на | Re: Autonomous Transaction (WIP) (Craig Ringer <craig@2ndquadrant.com>) |
| Список | pgsql-hackers |
On 07/04/14 15:50, Craig Ringer wrote: > On 04/07/2014 12:06 PM, Rajeev rastogi wrote: > > >> Syntax to create autonomous transaction can be as: >> >> */PRAGMA AUTONOMOUS TRANSACTION;/* > > Wouldn't you want to use SET TRANSACTION for this? > > Or a suffix on BEGIN, like BEGIN AUTONOMOUS TRANSACTION ? > > What's the logic behind introducing "PRAGMA" ? > > > If you wanted to use that syntax for Oracle compatibility you'd need to use: > > PRAGMA AUTONOMOUS_TRANSACTION; > > (note underscore). FWIW the implementation in the patch uses "PRAGMA AUTONOMOUS_TRANSACTION", the space is presumably a typo. Regards Ian Barwick -- Ian Barwick http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления: