Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit db4a6a2

Browse files
committed
I have a small patch for 6.5.
aclchk.c: heap_close() is not called after calling heap_openr(). Atsushi Ogawa
1 parent 8d37132 commit db4a6a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backend/catalog/aclchk.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/catalog/aclchk.c,v 1.21 1999/05/10 00:44:53 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/aclchk.c,v 1.22 1999/06/19 05:05:52 momjian Exp $
1111
*
1212
* NOTES
1313
* See acl.h.
@@ -455,6 +455,7 @@ pg_aclcheck(char *relname, char *usename, AclMode mode)
455455
RelationGetDescr(relation),
456456
(bool *) NULL);
457457
acl = aclownerdefault(relname, (AclId) ownerId);
458+
heap_close(relation);
458459
}
459460
#else
460461
{ /* This is why the syscache is great... */

0 commit comments

Comments
 (0)