aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/dynloader/linux.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-03-14 11:51:11 -0400
committerRobert Haas <rhaas@postgresql.org>2017-03-14 12:03:29 -0400
commitc17a3f57ebc00615ca34a48bb17eca1ed14f8ceb (patch)
treec28adc4ae195e2db546a965a62b83b89aa6c5c5a /src/backend/port/dynloader/linux.c
parentd999b896d801130da461d55560188e7c4d36819a (diff)
downloadpostgresql-c17a3f57ebc00615ca34a48bb17eca1ed14f8ceb.tar.gz
postgresql-c17a3f57ebc00615ca34a48bb17eca1ed14f8ceb.zip
Fix failure to mark init buffers as BM_PERMANENT.
This could result in corruption of the init fork of an unlogged index if the ambuildempty routine for that index used shared buffers to create the init fork, which was true for brin, gin, gist, and hash indexes. Patch by me, based on an earlier patch by Michael Paquier, who also reviewed this one. This also incorporates an idea from Artur Zakirov. Discussion: http://postgr.es/m/CACYUyc8yccE4xfxhqxfh_Mh38j7dRFuxfaK1p6dSNAEUakxUyQ@mail.gmail.com
Diffstat (limited to 'src/backend/port/dynloader/linux.c')
0 files changed, 0 insertions, 0 deletions