aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2012-04-18 10:49:37 -0400
committerRobert Haas <rhaas@postgresql.org>2012-04-18 10:49:37 -0400
commite93c0b820f03e96ae0549cd30805ae734e5d5e2f (patch)
tree0eeb9466474176e6f965ce3864adfa11e3969d16 /src/backend/tcop/postgres.c
parentb5eccaef2c05fd0c17f4510001528232b242a88e (diff)
downloadpostgresql-e93c0b820f03e96ae0549cd30805ae734e5d5e2f.tar.gz
postgresql-e93c0b820f03e96ae0549cd30805ae734e5d5e2f.zip
After PageSetAllVisible, use MarkBufferDirty.
Previously, we used SetBufferCommitInfoNeedsSave, but that's really intended for dirty-marks we can theoretically afford to lose, such as hint bits. As for 9.2, the PD_ALL_VISIBLE mustn't be lost in this way, since we could then end up with a heap page that isn't all-visible and a visibility map page that is all visible, causing index-only scans to return wrong answers.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions