aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/user.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-05-12 23:08:52 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-05-12 23:08:52 +0000
commit30f609484d025bfb7c69f8f6b9610dc981cb5fb8 (patch)
tree479152f5d7605284dfecb779eadaf0e254723815 /src/backend/commands/user.c
parentb02832719ce9926fe5a1c9b7e03cebf3dbf6a653 (diff)
downloadpostgresql-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.c8
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';
}