aboutsummaryrefslogtreecommitdiff
path: root/src/fe_utils/string_utils.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 11:51:11 -0400
commit87f99820349bbb020d1d65dd739a910c6f9c813b (patch)
tree83e104228ddaadc71e71a7b730b12d4e709432d3 /src/fe_utils/string_utils.c
parent37289ffdbfc7319a3cdb271b11227bf682f76d90 (diff)
downloadpostgresql-87f99820349bbb020d1d65dd739a910c6f9c813b.tar.gz
postgresql-87f99820349bbb020d1d65dd739a910c6f9c813b.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/fe_utils/string_utils.c')
0 files changed, 0 insertions, 0 deletions