| От | Matt Miller |
|---|---|
| Тема | Re: Autonomous Transactions |
| Дата | |
| Msg-id | 1117832861.7993.51.camel@dbamm01-linux обсуждение исходный текст |
| Ответ на | Re: Autonomous Transactions (Scott Marlowe <smarlowe@g2switchworks.com>) |
| Ответы |
Re: Autonomous Transactions
|
| Список | pgsql-general |
> > a way to enable a function to commit a unit of work that > > does not affect the caller's transaction. > Is dblink a possible answer? (it's a contrib package.) Very interesting. When you earlier mentioned dblink I found only DBLink-TDS on pgFoundry, and I dismissed it since I'm not accessing MSSQL. So, your idea is that I accomplish autonomous transactions in PL/pgSQL by just using dblink_connect, dblink_open, dblink_exec, and dblink_close? This looks promising. I'll give it a try.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера