diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-05-12 23:08:52 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-05-12 23:08:52 +0000 |
commit | 30f609484d025bfb7c69f8f6b9610dc981cb5fb8 (patch) | |
tree | 479152f5d7605284dfecb779eadaf0e254723815 /src/backend/commands/user.c | |
parent | b02832719ce9926fe5a1c9b7e03cebf3dbf6a653 (diff) | |
download | postgresql-30f609484d025bfb7c69f8f6b9610dc981cb5fb8.tar.gz postgresql-30f609484d025bfb7c69f8f6b9610dc981cb5fb8.zip |
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.
Diffstat (limited to 'src/backend/commands/user.c')
-rw-r--r-- | src/backend/commands/user.c | 8 |
1 files changed, 4 insertions, 4 deletions
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'; } |