aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/functioncmds.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2017-02-01 12:17:38 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2017-02-01 12:17:38 +0200
commit7ac4a389a7dbddaa8b19deb228f0a988e79c5795 (patch)
tree0dab2a409a30add40cb3b3e527b91c8ff54b0be6 /src/backend/commands/functioncmds.c
parentbc1686f3f653d30847736f2b71d694b98ba5c31d (diff)
downloadpostgresql-7ac4a389a7dbddaa8b19deb228f0a988e79c5795.tar.gz
postgresql-7ac4a389a7dbddaa8b19deb228f0a988e79c5795.zip
Don't create "holes" in BufFiles, in the new logtape code.
The "Simplify tape block format" commit ignored the rule that blocks returned by ltsGetFreeBlock() must be written out in the same order, at least in the first write pass. To fix, relax that requirement, by making ltsWriteBlock() to detect if it's about to create a "hole" in the underlying BufFile, and fill it with zeros instead. Reported, analysed, and reviewed by Peter Geoghegan. Discussion: https://www.postgresql.org/message-id/CAM3SWZRWdNtkhiG0GyiX_1mUAypiK3dV6-6542pYe2iEL-foTA@mail.gmail.com
Diffstat (limited to 'src/backend/commands/functioncmds.c')
0 files changed, 0 insertions, 0 deletions