Re: protocol change in 7.4

Поиск
Список
Период
Сортировка
От Ross J. Reedstrom
Тема Re: protocol change in 7.4
Дата
Msg-id 20021105012255.GA7156@wallace.ece.rice.edu
обсуждение исходный текст
Ответ на Re: protocol change in 7.4  (Mike Mascari <mascarm@mascari.com>)
Список pgsql-hackers
On Mon, Nov 04, 2002 at 08:10:29PM -0500, Mike Mascari wrote:
> Actually, I was thinking along the lines of a true CREATE 
> DATABASE LINK implementation, where multiple databases could 
> participate in a distributed transaction. That would require the 
> backend in which the main query is executing to act as the 
> "coordinator" and each of the other participating databases to 
> act as "cohorts". And would require a protocol change to support 
> the PREPARE, COMMIT-VOTE/ABORT-VOTE reply, and an ACK message 
> following the completion of the distributed COMMIT or ABORT.

Right, you need TPC in order for pgsql to participate in transactions
that span anything outside the DB proper. A DB link is one example,
or an external transaction manager that coordinates DB and filesystem
updates, for example. Zope could use this, to coordinate the DB with
it's internal object store.

Ross


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

Предыдущее
От: Mike Mascari
Дата:
Сообщение: Re: protocol change in 7.4
Следующее
От: Satoshi Nagayasu
Дата:
Сообщение: Re: protocol change in 7.4