1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-02 09:02:37 +03:00

Default argument for createdb

Changed EXIT_ON_ERROR to ON_ERROR_STOP in psql
This commit is contained in:
Peter Eisentraut
2000-02-10 20:08:58 +00:00
parent 7528fd2d52
commit 2fb0ff0c5b
5 changed files with 38 additions and 33 deletions

View File

@ -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