|
|
|
@ -7,7 +7,7 @@ |
|
|
|
|
* |
|
|
|
|
* |
|
|
|
|
* IDENTIFICATION |
|
|
|
|
* $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.1.1.1 1996/07/09 06:21:13 scrappy Exp $ |
|
|
|
|
* $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.2 1996/10/21 07:15:15 scrappy Exp $ |
|
|
|
|
*
|
|
|
|
|
* NOTES |
|
|
|
|
* Transaction aborts can now occur two ways: |
|
|
|
@ -135,17 +135,72 @@ |
|
|
|
|
* |
|
|
|
|
*------------------------------------------------------------------------- |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
#include "postgres.h" |
|
|
|
|
|
|
|
|
|
#include <time.h> |
|
|
|
|
#include "utils/nabstime.h" |
|
|
|
|
#include "access/xact.h" |
|
|
|
|
#include "commands/async.h" |
|
|
|
|
#include "storage/bufmgr.h" |
|
|
|
|
|
|
|
|
|
#include "catalog/pg_attribute.h" |
|
|
|
|
#include "access/attnum.h" |
|
|
|
|
#include "nodes/pg_list.h" |
|
|
|
|
#include "access/tupdesc.h" |
|
|
|
|
#include "storage/fd.h" |
|
|
|
|
#include "catalog/pg_am.h" |
|
|
|
|
#include "catalog/pg_class.h" |
|
|
|
|
#include "nodes/nodes.h" |
|
|
|
|
#include "rewrite/prs2lock.h" |
|
|
|
|
#include "access/skey.h" |
|
|
|
|
#include "access/strat.h" |
|
|
|
|
#include "utils/rel.h" |
|
|
|
|
#include "storage/block.h" |
|
|
|
|
#include "storage/proc.h" |
|
|
|
|
#include "storage/off.h" |
|
|
|
|
#include "storage/itemptr.h" |
|
|
|
|
#include "access/htup.h" |
|
|
|
|
#include "utils/inval.h" |
|
|
|
|
#include "utils/relcache.h" |
|
|
|
|
|
|
|
|
|
#include "nodes/memnodes.h" |
|
|
|
|
#include "utils/tqual.h" |
|
|
|
|
#include "nodes/primnodes.h" |
|
|
|
|
#include "nodes/parsenodes.h" |
|
|
|
|
#include "nodes/params.h" |
|
|
|
|
#include "access/sdir.h" |
|
|
|
|
#include "executor/hashjoin.h" |
|
|
|
|
#include "nodes/primnodes.h" |
|
|
|
|
#include "nodes/memnodes.h" |
|
|
|
|
#include "storage/buf.h" |
|
|
|
|
#include "executor/tuptable.h" |
|
|
|
|
#include "access/funcindex.h" |
|
|
|
|
#include "access/htup.h" |
|
|
|
|
#include "access/relscan.h" |
|
|
|
|
#include "nodes/execnodes.h" |
|
|
|
|
#include "nodes/plannodes.h" |
|
|
|
|
#include "tcop/dest.h" |
|
|
|
|
#include "executor/execdesc.h" |
|
|
|
|
#include "utils/portal.h" |
|
|
|
|
|
|
|
|
|
#include <stdio.h> |
|
|
|
|
#include "storage/ipc.h" |
|
|
|
|
#include "storage/bufmgr.h" |
|
|
|
|
#include "access/transam.h" |
|
|
|
|
|
|
|
|
|
#include "storage/spin.h" |
|
|
|
|
#include "utils/hsearch.h" |
|
|
|
|
#include "storage/shmem.h" |
|
|
|
|
#include "storage/lock.h" |
|
|
|
|
#include "storage/proc.h" |
|
|
|
|
|
|
|
|
|
#include "utils/mcxt.h" |
|
|
|
|
|
|
|
|
|
#include "catalog/heap.h" |
|
|
|
|
|
|
|
|
|
#include "utils/relcache.h" |
|
|
|
|
|
|
|
|
|
#include "miscadmin.h" |
|
|
|
|
|
|
|
|
|
#include "commands/async.h" |
|
|
|
|
|
|
|
|
|
/* ----------------
|
|
|
|
|
* global variables holding the current transaction state. |
|
|
|
|
* |
|
|
|
|