postgresql/src/include/storage
Robert Haas b2ae1d6c4d 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
2017-03-14 12:10:36 -04:00
..
backendid.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
barrier.h Sync 9.2 and 9.3 versions of barrier.h with 9.4's version. 2016-04-15 16:49:48 -04:00
block.h Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
buf.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
buf_internals.h Fix failure to mark init buffers as BM_PERMANENT. 2017-03-14 12:10:36 -04:00
buffile.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
bufmgr.h Fix bug leading to restoring unlogged relations from empty files. 2015-12-10 16:29:27 +01:00
bufpage.h Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
copydir.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
fd.h Introduce durable_rename() and durable_link_or_rename(). 2016-03-09 18:53:54 -08:00
freespace.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
fsm_internals.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
indexfsm.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
ipc.h Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
item.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
itemid.h Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
itemptr.h Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
large_object.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
latch.h Fix WaitLatch() to return promptly when the requested timeout expires. 2012-11-08 20:04:54 -05:00
lmgr.h Fix performance problems with autovacuum truncation in busy workloads. 2013-01-23 13:39:28 -06:00
lock.h Add a small cache of locks owned by a resource owner in ResourceOwner. 2015-08-27 12:22:10 -04:00
lwlock.h Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
off.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
pg_sema.h Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
pg_shmem.h On Windows, ensure shared memory handle gets closed if not being used. 2015-10-13 11:21:33 -04:00
pmsignal.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
pos.h Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
predicate.h Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
predicate_internals.h Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
proc.h Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
procarray.h Ensure no xid gaps during Hot Standby startup 2013-06-23 14:41:07 +01:00
procsignal.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
reinit.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
relfilenode.h Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
s_lock.h Fix typos in comments. 2017-02-06 11:34:32 +02:00
shmem.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
sinval.h Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
sinvaladt.h Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
smgr.h Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
spin.h Fix --disable-spinlocks in 9.2 and 9.3 branches. 2016-04-18 13:19:52 -04:00
standby.h Don't advance checkPoint.nextXid near the end of a checkpoint sequence. 2012-12-02 15:20:03 -05:00