postgresql/src/include/access
Heikki Linnakangas 644a0a6379 Fix archive_cleanup_command.
When I moved ExecuteRecoveryCommand() from xlog.c to xlogarchive.c, I didn't
realize that it's called from the checkpoint process, not the startup
process. I tried to use InRedo variable to decide whether or not to attempt
cleaning up the archive (must not do so before we have read the initial
checkpoint record), but that variable is only valid within the startup
process.

Instead, let ExecuteRecoveryCommand() always clean up the archive, and add
an explicit argument to RestoreArchivedFile() to say whether that's allowed
or not. The caller knows better.

Reported by Erik Rijkers, diagnosis by Fujii Masao. Only 9.3devel is
affected.
2012-11-19 10:14:20 +02:00
..
attnum.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
clog.h Make the number of CLOG buffers adaptive, based on shared_buffers. 2012-01-06 14:32:18 -05:00
genam.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
gin_private.h Replace int2/int4 in C code with int16/int32 2012-06-25 01:51:46 +03:00
gin.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
gist_private.h Fix multiple problems in WAL replay. 2012-11-12 22:05:53 -05:00
gist.h Assorted comment fixes, mostly just typos, but some obsolete statements. 2012-01-29 19:23:56 -05:00
gistscan.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
hash.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
heapam_xlog.h Split tuple struct defs from htup.h to htup_details.h 2012-08-30 16:52:35 -04:00
heapam.h Throw error if expiring tuple is again updated or deleted. 2012-10-26 14:55:36 -05:00
hio.h Make include files work without having to include other ones first 2012-06-10 12:46:14 +03:00
htup_details.h Split tuple struct defs from htup.h to htup_details.h 2012-08-30 16:52:35 -04:00
htup.h Split tuple struct defs from htup.h to htup_details.h 2012-08-30 16:52:35 -04:00
itup.h Lots of doc corrections. 2012-04-23 22:43:09 -04:00
multixact.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
nbtree.h Fix btmarkpos/btrestrpos to handle array keys. 2012-09-27 17:01:02 -04:00
printtup.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
reloptions.h Split tuple struct defs from htup.h to htup_details.h 2012-08-30 16:52:35 -04:00
relscan.h Split tuple struct defs from htup.h to htup_details.h 2012-08-30 16:52:35 -04:00
rewriteheap.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
rmgr.h Add SP-GiST (space-partitioned GiST) index access method. 2011-12-17 16:42:30 -05:00
sdir.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
skey.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
slru.h Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
spgist_private.h Trim spgist_private.h inclusion 2012-09-05 11:06:51 -03:00
spgist.h Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
subtrans.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
sysattr.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
timeline.h Split off functions related to timeline history files and XLOG archiving. 2012-10-02 13:37:19 +03:00
transam.h Replace XLogRecPtr struct with a 64-bit integer. 2012-06-24 19:19:45 +03:00
tupconvert.h Split tuple struct defs from htup.h to htup_details.h 2012-08-30 16:52:35 -04:00
tupdesc.h Recast "ONLY" column CHECK constraints as NO INHERIT 2012-04-20 23:56:57 -03:00
tupmacs.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
tuptoaster.h Split tuple struct defs from htup.h to htup_details.h 2012-08-30 16:52:35 -04:00
twophase_rmgr.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
twophase.h Tighten up includes in sinvaladt.h, twophase.h, proc.h 2012-06-25 18:40:40 -04:00
valid.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
visibilitymap.h Prevent index-only scans from returning wrong answers under Hot Standby. 2012-04-26 20:00:21 -04:00
xact.h Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
xlog_internal.h Fix archive_cleanup_command. 2012-11-19 10:14:20 +02:00
xlog.h Fix multiple problems in WAL replay. 2012-11-12 22:05:53 -05:00
xlogdefs.h Replace XLogRecPtr struct with a 64-bit integer. 2012-06-24 19:19:45 +03:00
xlogutils.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00