From 30f609484d025bfb7c69f8f6b9610dc981cb5fb8 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 12 May 2003 23:08:52 +0000 Subject: Add binary I/O routines for a bunch more datatypes. Still a few to go, but that was enough tedium for one day. Along the way, move the few support routines for types xid and cid into a more logical place. --- 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 c50524cf9b9..d31690aa246 100644 --- a/src/backend/commands/user.c +++ b/src/backend/commands/user.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Header: /cvsroot/pgsql/src/backend/commands/user.c,v 1.116 2003/01/27 00:47:37 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/user.c,v 1.117 2003/05/12 23:08:50 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -324,7 +324,7 @@ write_user_file(Relation urel) if (isnull) valuntil = pstrdup(""); else - valuntil = DatumGetCString(DirectFunctionCall1(nabstimeout, datum)); + valuntil = DatumGetCString(DirectFunctionCall1(abstimeout, datum)); /* * Check for illegal characters in the username and password. @@ -649,7 +649,7 @@ CreateUser(CreateUserStmt *stmt) if (validUntil) new_record[Anum_pg_shadow_valuntil - 1] = - DirectFunctionCall1(nabstimein, CStringGetDatum(validUntil)); + DirectFunctionCall1(abstimein, CStringGetDatum(validUntil)); else new_record_nulls[Anum_pg_shadow_valuntil - 1] = 'n'; @@ -851,7 +851,7 @@ AlterUser(AlterUserStmt *stmt) if (validUntil) { new_record[Anum_pg_shadow_valuntil - 1] = - DirectFunctionCall1(nabstimein, CStringGetDatum(validUntil)); + DirectFunctionCall1(abstimein, CStringGetDatum(validUntil)); new_record_repl[Anum_pg_shadow_valuntil - 1] = 'r'; } -- cgit v1.2.3