diff options
author | Michael Paquier | 2012-07-23 02:11:31 +0000 |
---|---|---|
committer | Michael Paquier | 2012-07-23 02:11:31 +0000 |
commit | 38b2b79f21859016e2b23d1c1203cd1d64ae833d (patch) | |
tree | 712ca428d1124494b2e666768aade53a8b08a85c /src/include/postgres.h | |
parent | d8fc6215ef228112ec49f1d3e8b919856c5266c1 (diff) |
Command Id communication protocol between Postgres-XC nodes
This commit adds a feature to allow Postgres-XC nodes to communicate
a Command Id to remote nodes. Remote nodes can also send back a Command
Id to the Coordinator commanding the transaction.
This has as consequences to solve numerous issues with data view on cursors
as well as solving an old issue XC had with INSERT SELECT when INSERT is
done on a child after scanning the parent.
This also allows to correctly increment the command ID on Coordinator in
the case of triggers and/or constraints being fired on remote nodes.
In order to allow nodes to communicate command ID, and a new message type
'M' is added.
Note: this patch is also fixing some whitespaces in xact.c.
Patch from Abbas Butt, I just added some simplifications, comments,
and finalized the packing.
Diffstat (limited to 'src/include/postgres.h')
0 files changed, 0 insertions, 0 deletions