diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2000-02-10 20:08:58 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2000-02-10 20:08:58 +0000 |
commit | 2fb0ff0c5bcb751159c6601ca3647d68622ef02b (patch) | |
tree | 80a9d7d5a93fe0f34062b744a4254995a8b82bf2 /src/bin/psql/help.c | |
parent | 7528fd2d52e74db25002a2b0d8c46bf373048838 (diff) |
Default argument for createdb
Changed EXIT_ON_ERROR to ON_ERROR_STOP in psql
Diffstat (limited to 'src/bin/psql/help.c')
-rw-r--r-- | src/bin/psql/help.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c index 261f1344203..fe1d76bc76c 100644 --- a/src/bin/psql/help.c +++ b/src/bin/psql/help.c @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.16 2000/02/07 23:10:06 petere Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.17 2000/02/10 20:08:56 petere Exp $ */ #include <c.h> #include "help.h" @@ -54,7 +54,7 @@ usage(void) if (!user) { #ifndef WIN32 - pw = getpwuid(getuid()); + pw = getpwuid(geteuid()); if (pw) user = pw->pw_name; else |