postgresql/src/include
Alvaro Herrera b40776d221 Have CLUSTER advance the table's relfrozenxid. The new frozen point is the
FreezeXid introduced in a recent commit, so there isn't any data loss in this
approach.

Doing it causes ALTER TABLE (or rather, the forms of it that cause a full table
rewrite) to be affected as well.  In this case, the frozen point is RecentXmin,
because after the rewrite all the tuples are relabeled with the rewriting
transaction's Xid.

TOAST tables are fixed automatically as well, as fallout of the way they were
already being handled in the respective code paths.

With this patch, there is no longer need to VACUUM tables for Xid wraparound
purposes that have been cleaned up via TRUNCATE or CLUSTER.
2007-05-18 23:19:42 +00:00
..
access Move the tuple freezing point in CLUSTER to a point further back in the past, 2007-05-17 15:28:29 +00:00
bootstrap Cleanup the bootstrap code a little, and rename "dummy procs" in the code 2007-03-07 13:35:03 +00:00
catalog Have TRUNCATE advance the affected table's relfrozenxid to RecentXmin, to 2007-05-16 17:28:20 +00:00
commands Have CLUSTER advance the table's relfrozenxid. The new frozen point is the 2007-05-18 23:19:42 +00:00
executor Support scrollable cursors (ie, 'direction' clause in FETCH) in plpgsql. 2007-04-16 17:21:24 +00:00
lib Add resetStringInfo(), which clears the content of a StringInfo, and 2007-03-03 19:32:55 +00:00
libpq Add lo_truncate() to backend and libpq for large object truncation. 2007-03-03 19:52:47 +00:00
mb Make JOHAB client only encoding per discussions in pgsql-hackers 2007-04-15 10:56:30 +00:00
nodes Fix parameter recalculation for Limit nodes: during a ReScan call we must 2007-05-17 19:35:08 +00:00
optimizer Teach tuplesort.c about "top N" sorting, in which only the first N tuples 2007-05-04 01:13:45 +00:00
parser Support enum data types. Along the way, use macros for the values of 2007-04-02 03:49:42 +00:00
port Now that core functionality is depending on autoconf's AC_C_BIGENDIAN to be 2007-04-06 05:36:51 +00:00
postmaster Enable configurable log of autovacuum actions. Initial patch from Simon 2007-04-18 16:44:18 +00:00
regex Wording cleanup for error messages. Also change can't -> cannot. 2007-02-01 19:10:30 +00:00
rewrite Changes pg_trigger and extend pg_rewrite in order to allow triggers and 2007-03-19 23:38:32 +00:00
storage tas() support for Renesas' M32R processor. Kazuhiro Inaoka 2007-05-04 15:20:52 +00:00
tcop Expose more cursor-related functionality in SPI: specifically, allow 2007-04-16 01:14:58 +00:00
utils Temporary fix for the problem that pg_stat_activity, inet_client_addr(), 2007-05-17 23:31:49 +00:00
c.h Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 2007-02-27 23:48:10 +00:00
fmgr.h Update comments for PG_DETOAST_PACKED and VARDATA_ANY on a structures 2007-05-15 17:39:54 +00:00
funcapi.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
getaddrinfo.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
getopt_long.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
Makefile Allow installation into directories containing spaces in the name. 2005-12-09 21:19:36 +00:00
miscadmin.h Add a multi-worker capability to autovacuum. This allows multiple worker 2007-04-16 18:30:04 +00:00
pg_config.h.in tas() support for Renesas' M32R processor. Kazuhiro Inaoka 2007-05-04 15:20:52 +00:00
pg_config.h.win32 Enable IPV6 for all MSVC builds, including the VC6 libpq-only build. 2007-04-16 18:39:19 +00:00
pg_config_manual.h Move BLCKSZ < 1024 check to guc.c. 2007-02-23 21:36:19 +00:00
pg_trace.h pgindent run for 8.2. 2006-10-04 00:30:14 +00:00
pgstat.h Fix oversight in my patch of yesterday: forgot to ensure that stats would 2007-04-30 16:37:08 +00:00
pgtime.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
port.h Add O_DIRECT support on Windows. 2007-04-13 10:30:30 +00:00
postgres.h Update comments for PG_DETOAST_PACKED and VARDATA_ANY on a structures 2007-05-15 17:39:54 +00:00
postgres_ext.h Move NAMEDATALEN definition from postgres_ext.h to pg_config_manual.h. It 2007-02-06 09:16:08 +00:00
postgres_fe.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
rusagestub.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00