From af74855a608da4cd7ef88ceb2241ec1c75537f39 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 1 Sep 1998 03:29:17 +0000 Subject: Renaming cleanup, no pgindent yet. --- src/backend/commands/dbcommands.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/backend/commands/dbcommands.c') diff --git a/src/backend/commands/dbcommands.c b/src/backend/commands/dbcommands.c index fdd6a6a3cc3..3954eb78deb 100644 --- a/src/backend/commands/dbcommands.c +++ b/src/backend/commands/dbcommands.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/dbcommands.c,v 1.22 1998/08/29 04:09:24 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/dbcommands.c,v 1.23 1998/09/01 03:21:57 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -171,7 +171,7 @@ get_pg_dbtup(char *command, char *dbname, Relation dbrel) dbtup = tup; heap_endscan(scan); - return (dbtup); + return dbtup; } /* @@ -250,12 +250,12 @@ check_permissions(char *command, { dbowner = (int4) heap_getattr(dbtup, Anum_pg_database_datdba, - RelationGetTupleDescriptor(dbrel), + RelationGetDescr(dbrel), (char *) NULL); *dbIdP = dbtup->t_oid; dbtext = (text *) heap_getattr(dbtup, Anum_pg_database_datpath, - RelationGetTupleDescriptor(dbrel), + RelationGetDescr(dbrel), (char *) NULL); strncpy(path, VARDATA(dbtext), (VARSIZE(dbtext) - VARHDRSZ)); -- cgit v1.2.3