From 1dbf8aa7a8159875bb46f6ee6ab0116eee76869b Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 26 Mar 2002 19:17:02 +0000 Subject: pg_class has a relnamespace column. You can create and access tables in schemas other than the system namespace; however, there's no search path yet, and not all operations work yet on tables outside the system namespace. --- src/backend/commands/user.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/backend/commands/user.c') diff --git a/src/backend/commands/user.c b/src/backend/commands/user.c index 3de55ad71c0..98ee4308975 100644 --- a/src/backend/commands/user.c +++ b/src/backend/commands/user.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Header: /cvsroot/pgsql/src/backend/commands/user.c,v 1.93 2002/03/06 06:09:37 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/user.c,v 1.94 2002/03/26 19:15:48 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -919,12 +919,12 @@ DropUser(DropUserStmt *stmt) * check to see if there is an ACL on pg_shadow */ static void -CheckPgUserAclNotNull() +CheckPgUserAclNotNull(void) { HeapTuple htup; - htup = SearchSysCache(RELNAME, - PointerGetDatum(ShadowRelationName), + htup = SearchSysCache(RELOID, + ObjectIdGetDatum(RelOid_pg_shadow), 0, 0, 0); if (!HeapTupleIsValid(htup)) elog(ERROR, "CheckPgUserAclNotNull: \"%s\" not found", -- cgit v1.2.3