| От | Joshua Tolley |
|---|---|
| Тема | Re: PostgreSQL and distributed transactions |
| Дата | |
| Msg-id | 4c54f53b.1864730a.7de6.1453@mx.google.com обсуждение |
| Ответ на | Re: PostgreSQL and distributed transactions (Dimitri Fontaine <dfontaine@hi-media.com>) |
| Ответы |
Re: PostgreSQL and distributed transactions
|
| Список | pgsql-general |
On Thu, Jul 29, 2010 at 11:42:14AM +0200, Dimitri Fontaine wrote: > Jayadevan M <Jayadevan.Maymala@ibsplc.com> writes: > > But the initial setup for the client is done by 'Admin' and in that > > work-flow, we need distributed transactions. The transaction will start > > from the 'Admin" server, do some inserts on the 'Client' server and then > > either rollback or commit on both the servers. Is it possible to do this > > with PostgreSQL? Any helpful links? > > See about 2 Phase Commit, but you will need a transaction manager I guess : > > http://www.postgresql.org/docs/current/static/sql-prepare-transaction.html > If I may be allowed to toot my own horn, may I suggest this as an example: http://blog.endpoint.com/2010/07/distributed-transactions-and-two-phase.html -- Joshua Tolley / eggyknap End Point Corporation http://www.endpoint.com
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера