summaryrefslogtreecommitdiff
path: root/src/include/libpq/be-fsstubs.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-07-28 14:23:31 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-07-28 14:23:31 +0000
commit1bf3d615047eb214b1ddde31bd268dabf96cc3fa (patch)
tree0fdb8cc0a4203c338b6f73130c9ef74b64d4a74e /src/include/libpq/be-fsstubs.h
parentcc813fc2b8d9293bbd4d0e0d6a6f3b9cf02fe32f (diff)
downloadpostgresql-1bf3d615047eb214b1ddde31bd268dabf96cc3fa.tar.gz
Fix subtransaction behavior for large objects, temp namespace, files,
password/group files. Also allow read-only subtransactions of a read-write parent, but not vice versa. These are the reasonably noncontroversial parts of Alvaro's recent mop-up patch, plus further work on large objects to minimize use of the TopTransactionResourceOwner.
Diffstat (limited to 'src/include/libpq/be-fsstubs.h')
-rw-r--r--src/include/libpq/be-fsstubs.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/include/libpq/be-fsstubs.h b/src/include/libpq/be-fsstubs.h
index 9c45876be5..b2d8b3d340 100644
--- a/src/include/libpq/be-fsstubs.h
+++ b/src/include/libpq/be-fsstubs.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/libpq/be-fsstubs.h,v 1.18 2003/11/29 22:41:03 pgsql Exp $
+ * $PostgreSQL: pgsql/src/include/libpq/be-fsstubs.h,v 1.19 2004/07/28 14:23:31 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -43,8 +43,10 @@ extern int lo_read(int fd, char *buf, int len);
extern int lo_write(int fd, char *buf, int len);
/*
- * Cleanup LOs at xact commit/abort [ Pascal André <andre@via.ecp.fr> ]
+ * Cleanup LOs at xact commit/abort
*/
-extern void lo_commit(bool isCommit);
+extern void AtEOXact_LargeObject(bool isCommit);
+extern void AtEOSubXact_LargeObject(bool isCommit, TransactionId myXid,
+ TransactionId parentXid);
#endif /* BE_FSSTUBS_H */