Index: src/backend/commands/comment.c =================================================================== RCS file: /projects/cvsroot/pgsql-server/src/backend/commands/comment.c,v retrieving revision 1.60 diff -c -r1.60 comment.c *** src/backend/commands/comment.c 2002/09/04 20:31:14 1.60 --- src/backend/commands/comment.c 2002/10/03 00:12:23 *************** *** 559,565 **** } /* Check object security */ - aclcheck = pg_class_aclcheck(reloid, GetUserId(), ACL_RULE); if (aclcheck != ACLCHECK_OK) aclcheck_error(aclcheck, rulename); --- 559,564 ---- *************** *** 568,575 **** classoid = get_system_catalog_relid(RewriteRelationName); /* Call CreateComments() to create/drop the comments */ - CreateComments(ruleoid, classoid, 0, comment); } /* --- 567,575 ---- classoid = get_system_catalog_relid(RewriteRelationName); /* Call CreateComments() to create/drop the comments */ CreateComments(ruleoid, classoid, 0, comment); + + heap_close(relation, AccessShareLock); } /*