summaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xact.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-04-01 03:34:27 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-04-01 03:34:27 +0000
commit838fe25a9532ab2e9b9b7517fec94e804cf3da81 (patch)
tree5d71f950bc362497a57e4a5a375907a41325aec4 /src/backend/access/transam/xact.c
parent6df395f63a3f4be10b8f5b81dea1b426021ce5ce (diff)
Create a new GUC variable search_path to control the namespace search
path. The default behavior if no per-user schemas are created is that all users share a 'public' namespace, thus providing behavior backwards compatible with 7.2 and earlier releases. Probably the semantics and default setting will need to be fine-tuned, but this is a start.
Diffstat (limited to 'src/backend/access/transam/xact.c')
-rw-r--r--src/backend/access/transam/xact.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/backend/access/transam/xact.c b/src/backend/access/transam/xact.c
index 046f3d52aad..ca66b0afafa 100644
--- a/src/backend/access/transam/xact.c
+++ b/src/backend/access/transam/xact.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.119 2002/03/31 06:26:29 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.120 2002/04/01 03:34:25 tgl Exp $
*
* NOTES
* Transaction aborts can now occur two ways:
@@ -241,8 +241,10 @@ bool AMI_OVERRIDE = false;
* ----------------------------------------------------------------
*/
+#ifdef NOT_USED
+
/* --------------------------------
- * TranactionFlushEnabled()
+ * TransactionFlushEnabled()
* SetTransactionFlushEnabled()
*
* These are used to test and set the "TransactionFlushState"
@@ -261,13 +263,14 @@ TransactionFlushEnabled(void)
return TransactionFlushState;
}
-#ifdef NOT_USED
void
SetTransactionFlushEnabled(bool state)
{
TransactionFlushState = (state == true);
}
+#endif
+
/* --------------------------------
* IsTransactionState
@@ -300,7 +303,6 @@ IsTransactionState(void)
*/
return false;
}
-#endif
/* --------------------------------
* IsAbortedTransactionBlockState