From bd2ef63aa827066476ec6ab3d7dcd0a3b5fe0671 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 5 Nov 2007 16:45:52 +0000 Subject: [PATCH] Move txid snapshot field description table from datatype to functions section. --- doc/src/sgml/datatype.sgml | 73 +------------------------------------- doc/src/sgml/func.sgml | 65 +++++++++++++++++++++++++++++---- 2 files changed, 60 insertions(+), 78 deletions(-) diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml index e1e157ab37..5f173c907a 100644 --- a/doc/src/sgml/datatype.sgml +++ b/doc/src/sgml/datatype.sgml @@ -1,4 +1,4 @@ - + Data Types @@ -3437,77 +3437,6 @@ SELECT to_tsquery('Fat:ab & Cats'); - - Transaction Snapshot Type - - - txid_snapshot - - - - The data type txid_snapshot stores info about transaction ID - visibility at a particular moment in time. The components are - described in . - - - - Snapshot components - - - - Name - Query Function - Description - - - - - - - xmin - txid_snapshot_xmin() - - Earliest transaction ID that is still active. All earlier - transactions will either be committed and visible, or rolled - back and dead. - - - - - xmax - txid_snapshot_xmax() - - Next unassigned txid. All txids later than this one are - unassigned, and thus invisible. - - - - - xip_list - txid_snapshot_xip() - - Active txids at the time of snapshot. All of them are between - xmin and xmax. A txid that is xmin <= txid < - xmax and not in this list is visible. - - - - - -
- - - Snapshot's textual representation is [xmin]:[xmax]:[xip_list] - for example 10:20:10,14,15 means - xmin=10 xmax=20 xip_list=10,14,15. - - - - Functions for getting and querying transaction ids and snapshots are - described in . - -
- <acronym>UUID</acronym> Type diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index ad91d6d6af..78ab02a0ec 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,4 +1,4 @@ - + Functions and Operators @@ -11519,11 +11519,6 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); txid_visible_in_snapshot - - The functions shown in - export server internal transaction info to user level. - - Transaction IDs and snapshots @@ -11575,6 +11570,64 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); which transactions were committed between two snapshots. + + The data type txid_snapshot stores info about transaction ID + visibility at a particular moment in time. The components are + described in . + + +
+ Snapshot components + + + + Name + Query Function + Description + + + + + + + xmin + txid_snapshot_xmin() + + Earliest transaction ID that is still active. All earlier + transactions will either be committed and visible, or rolled + back and dead. + + + + + xmax + txid_snapshot_xmax() + + Next unassigned txid. All txids later than this one are + unassigned, and thus invisible. + + + + + xip_list + txid_snapshot_xip() + + Active txids at the time of snapshot. All of them are between + xmin and xmax. A txid that is xmin <= txid < + xmax and not in this list is visible. + + + + + +
+ + + Snapshot's textual representation is [xmin]:[xmax]:[xip_list] + for example 10:20:10,14,15 means + xmin=10 xmax=20 xip_list=10,14,15. + +