mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
1f92630fc4
on CORE previously. This module offers transaction ID's containing the original XID and the transaction epoch as a bigint value to the user level. It also provides a special txid_snapshot data type that contains an entire transactions visibility snapshot information, which is useful to determine if a particular txid was visible to a transaction or not. The module has been tested by porting Slony-I from using its original xxid data type. Jan
16 lines
508 B
SQL
16 lines
508 B
SQL
|
|
|
|
DROP FUNCTION txid_current();
|
|
DROP FUNCTION txid_current_snapshot();
|
|
DROP FUNCTION txid_snapshot_xmin(txid_snapshot);
|
|
DROP FUNCTION txid_snapshot_xmax(txid_snapshot);
|
|
DROP FUNCTION txid_snapshot_xip(txid_snapshot);
|
|
DROP FUNCTION txid_visible_in_snapshot(bigint, txid_snapshot);
|
|
DROP FUNCTION txid_not_visible_in_snapshot(bigint, txid_snapshot);
|
|
|
|
DROP TYPE txid_snapshot cascade;
|
|
-- need cascade to drop those:
|
|
-- DROP FUNCTION txid_snapshot_in(cstring);
|
|
-- DROP FUNCTION txid_snapshot_out(txid_snapshot);
|
|
|