summaryrefslogtreecommitdiff
path: root/src/include/utils/portal.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-04-11 19:51:16 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-04-11 19:51:16 +0000
commitc3294f1cbfe02293b4a7c6b2e58ca4c09a7e541f (patch)
treed4d422b08f15bce2b32867ae3cc8e722e08e9df2 /src/include/utils/portal.h
parent0c400f1bbc3231ed75e11d3ab0ec7a4a9d3c8486 (diff)
downloadpostgresql-c3294f1cbfe02293b4a7c6b2e58ca4c09a7e541f.tar.gz
Fix interaction between materializing holdable cursors and firing
deferred triggers: either one can create more work for the other, so we have to loop till it's all gone. Per example from andrew@supernews. Add a regression test to help spot trouble in this area in future.
Diffstat (limited to 'src/include/utils/portal.h')
-rw-r--r--src/include/utils/portal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/utils/portal.h b/src/include/utils/portal.h
index 75e606c180..b8bcc33f58 100644
--- a/src/include/utils/portal.h
+++ b/src/include/utils/portal.h
@@ -39,7 +39,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/utils/portal.h,v 1.54 2004/12/31 22:03:46 pgsql Exp $
+ * $PostgreSQL: pgsql/src/include/utils/portal.h,v 1.55 2005/04/11 19:51:16 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -182,6 +182,7 @@ typedef struct PortalData
/* Prototypes for functions in utils/mmgr/portalmem.c */
extern void EnablePortalManager(void);
+extern bool CommitHoldablePortals(void);
extern void AtCommit_Portals(void);
extern void AtAbort_Portals(void);
extern void AtCleanup_Portals(void);