postgresql/src/include/utils
Alvaro Herrera 73c986adde Keep track of transaction commit timestamps
Transactions can now set their commit timestamp directly as they commit,
or an external transaction commit timestamp can be fed from an outside
system using the new function TransactionTreeSetCommitTsData().  This
data is crash-safe, and truncated at Xid freeze point, same as pg_clog.

This module is disabled by default because it causes a performance hit,
but can be enabled in postgresql.conf requiring only a server restart.

A new test in src/test/modules is included.

Catalog version bumped due to the new subdirectory within PGDATA and a
couple of new SQL functions.

Authors: Álvaro Herrera and Petr Jelínek

Reviewed to varying degrees by Michael Paquier, Andres Freund, Robert
Haas, Amit Kapila, Fujii Masao, Jaime Casanova, Simon Riggs, Steven
Singer, Peter Eisentraut
2014-12-03 11:53:02 -03:00
..
.gitignore Avoid maintaining three separate copies of the error codes list. 2011-02-03 22:32:49 -05:00
acl.h Row-Level Security Policies (RLS) 2014-09-19 11:18:35 -04:00
array.h Support arrays as input to array_agg() and ARRAY(SELECT ...). 2014-11-25 12:21:28 -05:00
ascii.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
attoptcache.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
builtins.h Keep track of transaction commit timestamps 2014-12-03 11:53:02 -03:00
bytea.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
cash.h Add casts from int4 and int8 to numeric. 2011-04-05 09:35:43 -04:00
catcache.h pgindent run for 9.4 2014-05-06 12:12:18 -04:00
combocid.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
date.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
datetime.h C comment: mention 1500-02-29 as an invalid date 2014-11-09 20:50:15 -05:00
datum.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
dynahash.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
dynamic_loader.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
elog.h Support frontend-backend protocol communication using a shm_mq. 2014-10-31 12:02:40 -04:00
evtcache.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
fmgrtab.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
formatting.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
geo_decls.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
guc.h Add infrastructure to save and restore GUC values. 2014-11-24 16:37:56 -05:00
guc_tables.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
help_config.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
hsearch.h pgindent run for 9.4 2014-05-06 12:12:18 -04:00
inet.h pgindent run for 9.4 2014-05-06 12:12:18 -04:00
int8.h Provide moving-aggregate support for a bunch of numerical aggregates. 2014-04-12 20:33:09 -04:00
inval.h Avoid setup work for invalidation messages at start-of-(sub)xact. 2014-10-29 12:35:19 -04:00
json.h Revert 95d737ff to add 'ignore_nulls' 2014-09-29 13:32:22 -04:00
jsonapi.h Fix hstore_to_json_loose's detection of valid JSON number values. 2014-12-01 11:28:45 -05:00
jsonb.h Change JSONB's on-disk format for improved performance. 2014-09-29 12:29:21 -04:00
lockwaitpolicy.h Implement SKIP LOCKED for row-level locks 2014-10-07 17:23:34 -03:00
logtape.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
lsyscache.h Support arrays as input to array_agg() and ARRAY(SELECT ...). 2014-11-25 12:21:28 -05:00
memdebug.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
memutils.h Fix and enhance the assertion of no palloc's in a critical section. 2014-06-30 10:26:00 +03:00
nabstime.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
numeric.h Introduce jsonb, a structured format for storing json. 2014-03-23 16:40:19 -04:00
palloc.h pgindent run for 9.4 2014-05-06 12:12:18 -04:00
pg_crc.h Switch to CRC-32C in WAL and other places. 2014-11-04 11:39:48 +02:00
pg_crc_tables.h Switch to CRC-32C in WAL and other places. 2014-11-04 11:39:48 +02:00
pg_locale.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
pg_lsn.h Add btree and hash opclasses for pg_lsn. 2014-06-04 20:45:56 -04:00
pg_lzcompress.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
pg_rusage.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
plancache.h Rename pg_rowsecurity -> pg_policy and other fixes 2014-11-27 01:15:57 -05:00
portal.h pgindent run for 9.4 2014-05-06 12:12:18 -04:00
ps_status.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
rangetypes.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
rbtree.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
rel.h Rename pg_rowsecurity -> pg_policy and other fixes 2014-11-27 01:15:57 -05:00
relcache.h Fix relpersistence setting in reindex_index 2014-11-17 11:23:35 -03:00
relfilenodemap.h pgindent run for 9.4 2014-05-06 12:12:18 -04:00
relmapper.h Revamp the WAL record format. 2014-11-20 18:46:41 +02:00
reltrigger.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
resowner.h pgindent run for 9.4 2014-05-06 12:12:18 -04:00
resowner_private.h pgindent run for 9.4 2014-05-06 12:12:18 -04:00
ruleutils.h Split builtins.h to a new header ruleutils.h 2014-10-08 18:10:47 -03:00
selfuncs.h BRIN: Block Range Indexes 2014-11-07 16:38:14 -03:00
snapmgr.h Introduce logical decoding. 2014-03-03 16:32:18 -05:00
snapshot.h Implement SKIP LOCKED for row-level locks 2014-10-07 17:23:34 -03:00
sortsupport.h Use the sortsupport infrastructure in more cases. 2014-11-07 15:50:55 -05:00
spccache.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
syscache.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
timeout.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
timestamp.h Provide moving-aggregate support for a bunch of numerical aggregates. 2014-04-12 20:33:09 -04:00
tqual.h pgindent run for 9.4 2014-05-06 12:12:18 -04:00
tuplesort.h Avoid copying index tuples when building an index. 2014-07-01 10:34:42 -04:00
tuplestore.h pgindent run for 9.4 2014-05-06 12:12:18 -04:00
typcache.h pgindent run for 9.4 2014-05-06 12:12:18 -04:00
tzparser.h Support timezone abbreviations that sometimes change. 2014-10-16 15:22:10 -04:00
uuid.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
varbit.h Predict integer overflow to avoid buffer overruns. 2014-02-17 09:33:31 -05:00
xml.h Update copyright for 2014 2014-01-07 16:05:30 -05:00