summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/trigfuncs.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:06:36 -0400
commitbbd5e600ff5cd23bdbb63687748d34fa02690600 (patch)
treeee228f8f066944307b2c5d6f764095e9103a7120 /src/backend/utils/adt/trigfuncs.c
parent123f377a6602fce63c6d327b5f2304b78c8a1a94 (diff)
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 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/utils/adt/trigfuncs.c')
0 files changed, 0 insertions, 0 deletions