From 1bf3d615047eb214b1ddde31bd268dabf96cc3fa Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 28 Jul 2004 14:23:31 +0000 Subject: 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. --- src/include/commands/user.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/include/commands') diff --git a/src/include/commands/user.h b/src/include/commands/user.h index 8dba146aa5b..7a723192779 100644 --- a/src/include/commands/user.h +++ b/src/include/commands/user.h @@ -4,7 +4,7 @@ * Commands for manipulating users and groups. * * - * $PostgreSQL: pgsql/src/include/commands/user.h,v 1.22 2003/11/29 22:40:59 pgsql Exp $ + * $PostgreSQL: pgsql/src/include/commands/user.h,v 1.23 2004/07/28 14:23:31 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -32,5 +32,7 @@ extern void RenameGroup(const char *oldname, const char *newname); extern Datum update_pg_pwd_and_pg_group(PG_FUNCTION_ARGS); extern void AtEOXact_UpdatePasswordFile(bool isCommit); +extern void AtEOSubXact_UpdatePasswordFile(bool isCommit, TransactionId myXid, + TransactionId parentXid); #endif /* USER_H */ -- cgit v1.2.3