summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane2007-09-07 00:58:57 +0000
committerTom Lane2007-09-07 00:58:57 +0000
commitcd1aae586498a348876b4804bdd1bb7cc743d395 (patch)
treea8f3286d3c90249a85b00bad2fbe4d9413ab3d4f /src/include
parentf8942f4a15fa5baa51c52491147a1bb910532332 (diff)
Allow CREATE INDEX CONCURRENTLY to disregard transactions in other
databases, per gripe from hubert depesz lubaczewski. Patch from Simon Riggs.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/storage/procarray.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/storage/procarray.h b/src/include/storage/procarray.h
index 524710506a..21e0c83952 100644
--- a/src/include/storage/procarray.h
+++ b/src/include/storage/procarray.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/storage/procarray.h,v 1.15 2007/09/05 18:10:48 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/storage/procarray.h,v 1.16 2007/09/07 00:58:57 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -33,7 +33,8 @@ extern PGPROC *BackendPidGetProc(int pid);
extern int BackendXidGetPid(TransactionId xid);
extern bool IsBackendPid(int pid);
-extern VirtualTransactionId *GetCurrentVirtualXIDs(TransactionId limitXmin);
+extern VirtualTransactionId *GetCurrentVirtualXIDs(TransactionId limitXmin,
+ bool allDbs);
extern int CountActiveBackends(void);
extern int CountDBBackends(Oid databaseid);
extern int CountUserBackends(Oid roleid);