aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-06-19 05:05:52 +0000
committerBruce Momjian <bruce@momjian.us>1999-06-19 05:05:52 +0000
commitdb4a6a26186c8b4fd5fb9714311cbc58fca281f8 (patch)
treeb20f0e59648b8b498c93afe53b22a59548cb8759
parent8d37132ec9d04412e1962119b941aa6566728191 (diff)
downloadpostgresql-db4a6a26186c8b4fd5fb9714311cbc58fca281f8.tar.gz
postgresql-db4a6a26186c8b4fd5fb9714311cbc58fca281f8.zip
I have a small patch for 6.5.
aclchk.c: heap_close() is not called after calling heap_openr(). Atsushi Ogawa
-rw-r--r--src/backend/catalog/aclchk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/catalog/aclchk.c b/src/backend/catalog/aclchk.c
index db1d85abc1f..a5f9bf9728a 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... */