Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdb4a6a2

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 parent8d37132 commitdb4a6a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/backend/catalog/aclchk.c

Lines changed: 2 additions & 1 deletion
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)

[8]ページ先頭

©2009-2025 Movatter.jp