Re: protocol change in 7.4

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Satoshi Nagayasu <pgsql@snaga.org>
Cc: Darren Johnson <darren@up.hrcoxmail.com>, pgsql-hackers@postgresql.org
Date: 2002-11-05T04:46:10Z
Lists: pgsql-hackers
I don't see why 2PC would require any protocol-level change.  I would
think that the API would be something like

	BEGIN;
	issue some commands ...
	PRECOMMIT;
	-- if the above does not return an error, then
	COMMIT;

In other words, 2PC would require some new commands, but a new command
doesn't affect the protocol layer.

			regards, tom lane