diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2017-06-07 13:49:14 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2017-06-07 13:49:14 -0400 |
commit | 644ea35fc1352d845299563c7ddfb8b524ed27d9 (patch) | |
tree | b020ec700bd642a3556dc87f5547bfe73afd350b /src/backend/access/gist/gistvacuum.c | |
parent | 15ce775faa428dc91027e4e2d6b7a167a27118b5 (diff) | |
download | postgresql-644ea35fc1352d845299563c7ddfb8b524ed27d9.tar.gz postgresql-644ea35fc1352d845299563c7ddfb8b524ed27d9.zip |
Fix updating of pg_subscription_rel from workers
A logical replication worker should not insert new rows into
pg_subscription_rel, only update existing rows, so that there are no
races if a concurrent refresh removes rows. Adjust the API to be able
to choose that behavior.
Author: Masahiko Sawada <sawada.mshk@gmail.com>
Reported-by: tushar <tushar.ahuja@enterprisedb.com>
Diffstat (limited to 'src/backend/access/gist/gistvacuum.c')
0 files changed, 0 insertions, 0 deletions