diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-05-15 18:29:20 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-05-15 18:29:20 +0300 |
commit | 8f9b9590d79fc1fc1ad08b207401acfdbb0bfac7 (patch) | |
tree | 0d0dd5f00b67a2165268015a25836b3216bdb1f4 /contrib/btree_gist/btree_inet.c | |
parent | bb38fb0d43c8d7ff54072bfd8bd63154e536b384 (diff) | |
download | postgresql-8f9b9590d79fc1fc1ad08b207401acfdbb0bfac7.tar.gz postgresql-8f9b9590d79fc1fc1ad08b207401acfdbb0bfac7.zip |
Handle duplicate XIDs in txid_snapshot.
The proc array can contain duplicate XIDs, when a transaction is just being
prepared for two-phase commit. To cope, remove any duplicates in
txid_current_snapshot(). Also ignore duplicates in the input functions, so
that if e.g. you have an old pg_dump file that already contains duplicates,
it will be accepted.
Report and fix by Jan Wieck. Backpatch to all supported versions.
Diffstat (limited to 'contrib/btree_gist/btree_inet.c')
0 files changed, 0 insertions, 0 deletions