aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/dbcommands.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-01-17 23:45:37 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-01-17 23:46:33 +0200
commit88228e6f1d26619756281c508212498f1de1eff5 (patch)
treed88227bda7ba4e4bcac784737b84450342ddebb1 /src/backend/commands/dbcommands.c
parent3684a534efbd2ffd72e2c4cbd21f9752be3efaf1 (diff)
downloadpostgresql-88228e6f1d26619756281c508212498f1de1eff5.tar.gz
postgresql-88228e6f1d26619756281c508212498f1de1eff5.zip
When xlogreader asks the callback function to read a page, make sure we
get a large enough part of the page to include the beginning of the next record we're interested in. The XLogPageRead callback uses the requested length to decide which timeline to stream WAL from, and if the first call is short, and the page contains a timeline switch, we'll repeatedly try to stream that page from the old timeline, and never get across the timeline switch.
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions