postgresql/src/backend/commands
Tom Lane 25ec228ef7 Track the current XID wrap limit (or more accurately, the oldest unfrozen
XID) in checkpoint records.  This eliminates the need to recompute the value
from scratch during database startup, which is one of the two remaining
reasons for the flatfile code to exist.  It should also simplify life for
hot-standby operation.

To avoid bloating the checkpoint records unreasonably, I switched from
tracking the oldest database by name to tracking it by OID.  This turns
out to save cycles in general (everywhere but the warning-generating
paths, which we hardly care about) and also helps us deal with the case
that the oldest database got dropped instead of being vacuumed.  The prior
coding might go for a long time without updating the wrap limit in that case,
which is bad because it might result in a lot of useless autovacuum activity.
2009-08-31 02:23:23 +00:00
..
Makefile Support deferrable uniqueness constraints. 2009-07-29 20:56:21 +00:00
aggregatecmds.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
alter.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
analyze.c Fix old bug in log_autovacuum_min_duration code: it was relying on being able 2009-08-12 18:23:49 +00:00
async.c Create a multiplexing structure for signals to Postgres child processes. 2009-07-31 20:26:23 +00:00
cluster.c Revisit AlterTableCreateToastTable's API once again, hoping to make it what 2009-06-11 20:46:11 +00:00
comment.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
constraint.c Support deferrable uniqueness constraints. 2009-07-29 20:56:21 +00:00
conversioncmds.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
copy.c Support deferrable uniqueness constraints. 2009-07-29 20:56:21 +00:00
dbcommands.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
define.c Extend EXPLAIN to allow generic options to be specified. 2009-07-26 23:34:18 +00:00
discard.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
explain.c Include resjunk columns in EXPLAIN VERBOSE output lists. Per discussion. 2009-08-22 02:06:32 +00:00
foreigncmds.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
functioncmds.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
indexcmds.c Support deferrable uniqueness constraints. 2009-07-29 20:56:21 +00:00
lockcmds.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
opclasscmds.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
operatorcmds.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
portalcmds.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
prepare.c Extend EXPLAIN to support output in XML or JSON format. 2009-08-10 05:46:50 +00:00
proclang.c Move some declarations in the raw-parser header files to create a clearer 2009-07-12 17:12:34 +00:00
schemacmds.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
sequence.c Make backend header files C++ safe 2009-07-16 06:33:46 +00:00
tablecmds.c Make TRUNCATE do truncate-in-place when processing a relation that was created 2009-08-23 19:23:41 +00:00
tablespace.c Support column-level privileges, as required by SQL standard. 2009-01-22 20:16:10 +00:00
trigger.c Support hex-string input and output for type BYTEA. 2009-08-04 16:08:37 +00:00
tsearchcmds.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
typecmds.c Merge the Constraint and FkConstraint node types into a single type. 2009-07-30 02:45:38 +00:00
user.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
vacuum.c Track the current XID wrap limit (or more accurately, the oldest unfrozen 2009-08-31 02:23:23 +00:00
vacuumlazy.c Fix a violation of WAL coding rules in the recent patch to include an 2009-08-24 02:18:32 +00:00
variable.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
view.c Make backend header files C++ safe 2009-07-16 06:33:46 +00:00