summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/name.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2010-11-02 11:23:43 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2010-11-02 11:36:32 +0200
commit77459eba8cb32aa0e1e1736a3f3b08b8e8dde181 (patch)
treeb1f9651a3c410e958bd91762840605f9adeca5b2 /src/backend/utils/adt/name.c
parent268fecc62cde08c89952c26cb01db8f04a2dc88d (diff)
Bootstrap WAL to begin at segment logid=0 logseg=1 (000000010000000000000001)
rather than 0/0, so that we can safely use 0/0 as an invalid value. This is a more future-proof fix for the corner-case bug in streaming replication that was fixed yesterday. We had a similar corner-case bug with log/seg 0/0 back in February as well. Avoiding 0/0 as a valid value should prevent bugs like that in the future. Per Tom Lane's idea. Back-patch to 9.0. Since this only affects bootstrapping, it makes no difference to existing installations. We don't need to worry about the bug in existing installations, because if you've managed to get past the initial base backup already, you won't hit the bug in the future either.
Diffstat (limited to 'src/backend/utils/adt/name.c')
0 files changed, 0 insertions, 0 deletions