From: Bruce Momjian Date: Sat, 19 Jun 1999 05:05:52 +0000 (+0000) Subject: I have a small patch for 6.5. X-Git-Tag: REL9_0_0~25195 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=db4a6a26186c8b4fd5fb9714311cbc58fca281f8;p=pg-rex%2Fsyncrep.git I have a small patch for 6.5. aclchk.c: heap_close() is not called after calling heap_openr(). Atsushi Ogawa --- diff --git a/src/backend/catalog/aclchk.c b/src/backend/catalog/aclchk.c index db1d85abc1..a5f9bf9728 100644 --- a/src/backend/catalog/aclchk.c +++ b/src/backend/catalog/aclchk.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/catalog/aclchk.c,v 1.21 1999/05/10 00:44:53 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/catalog/aclchk.c,v 1.22 1999/06/19 05:05:52 momjian Exp $ * * NOTES * See acl.h. @@ -455,6 +455,7 @@ pg_aclcheck(char *relname, char *usename, AclMode mode) RelationGetDescr(relation), (bool *) NULL); acl = aclownerdefault(relname, (AclId) ownerId); + heap_close(relation); } #else { /* This is why the syscache is great... */