aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2012-06-11 15:07:55 +0200
committerMagnus Hagander <magnus@hagander.net>2012-06-11 15:17:52 +0200
commit580b94168e2218a2a32d6792139d51c63104b2c2 (patch)
tree14f27cba304ff027723d6b52c6c8dcb68612ba54 /src/backend/access/gist/gistget.c
parent557433f48ad1e55ce753282f4dfb8ef3606cda8d (diff)
downloadpostgresql-580b94168e2218a2a32d6792139d51c63104b2c2.tar.gz
postgresql-580b94168e2218a2a32d6792139d51c63104b2c2.zip
Prevent non-streaming replication connections from being selected sync slave
This prevents a pg_basebackup backup session that just does a base backup (no xlog involved at all) from becoming the synchronous slave and thus blocking all access while it runs. Also fixes the problem when a higher priority slave shows up it would become the sync standby before it has reached the STREAMING state, by making sure we can only switch to a walsender that's actually STREAMING. Fujii Masao
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions