aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/connection.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-12-23 12:42:55 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-12-23 12:42:55 +0200
commit1585ff7387dbcc5657522b2ed87ffd58fd555ee9 (patch)
tree4be2198a35715c6fccce4fa222607a3741837e20 /contrib/postgres_fdw/connection.c
parent952365cded635e54c4177399c0280cb7a5e34c11 (diff)
downloadpostgresql-1585ff7387dbcc5657522b2ed87ffd58fd555ee9.tar.gz
postgresql-1585ff7387dbcc5657522b2ed87ffd58fd555ee9.zip
Don't allow GetTransactionSnapshot() in logical decoding
A historic snapshot should only be used for catalog access, not general queries. We never call GetTransactionSnapshot() during logical decoding, which is good because it wouldn't be very sensible, so the code to deal with that was unreachable and untested. Turn it into an error, to avoid doing that in the future either. Discussion: https://www.postgresql.org/message-id/a868fe78-ddb4-4b0a-9b96-873d91d93cfd@iki.fi
Diffstat (limited to 'contrib/postgres_fdw/connection.c')
0 files changed, 0 insertions, 0 deletions