aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/json.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:38 +0200
commit3595a71e9ce90a2d4c812a9bb34dc24ffc492c2b (patch)
tree03ea44f4a86401fc35be03d44843206ae0bd2aa7 /src/backend/utils/adt/json.c
parent9af34cdec87d8e60f200ccd5b1b695880412c62b (diff)
downloadpostgresql-3595a71e9ce90a2d4c812a9bb34dc24ffc492c2b.tar.gz
postgresql-3595a71e9ce90a2d4c812a9bb34dc24ffc492c2b.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/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions