aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistproc.c
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2012-12-02 15:01:44 +0000
committerSimon Riggs <simon@2ndQuadrant.com>2012-12-02 15:01:44 +0000
commit973c011639e1aecf7256de07e2aa8520f9b49035 (patch)
treeb51e6d1a1e9ea51712b13b9090a1e6116f5d0e16 /src/backend/access/gist/gistproc.c
parenta7c53092d88bf9c617713389bc11f0670762b723 (diff)
downloadpostgresql-973c011639e1aecf7256de07e2aa8520f9b49035.tar.gz
postgresql-973c011639e1aecf7256de07e2aa8520f9b49035.zip
XidEpoch++ if wraparound during checkpoint.
If wal_level = hot_standby we update the checkpoint nextxid, though in the case where a wraparound occurred half-way through a checkpoint we would neglect updating the epoch also. Updating the nextxid is arguably the wrong thing to do, but changing that may introduce subtle bugs into hot standby startup, while updating the value doesn't cause any known bugs yet. Minimal fix now to HEAD and backbranches, wider fix later in HEAD. Bug reported in #6291 by Daniel Farina and slightly differently in Cause analysis and recommended fixes from Tom Lane and Andres Freund. Applied patch is minimal version of Andres Freund's work.
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions