Re: Creating a user fails - Mailing list pgsql-general

From Tom Lane
Subject Re: Creating a user fails
Date
Msg-id 4920.1024783305@sss.pgh.pa.us
Whole thread Raw
In response to Creating a user fails  ("Werner Schalk" <werner_schalk@gmx.de>)
List pgsql-general
"Werner Schalk" <werner_schalk@gmx.de> writes:
> postgres@diebels:~$ createuser -D -A -P werner
> env: /usr/lib/postgresql/bin/readpgenv: No such file or directory
> Could not execv /usr/lib/postgresql/bin/createuser

> Why the hell is he trying to use /usr/lib/postgresql and
> not the one I gave to ./configure?

Check your PATH.  I bet there is some preinstalled createuser
script that you are invoking, and not the one in
/usr/local/postgresql-7.2.1/bin.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: SQL server application porting headache
Next
From: Neil Conway
Date:
Subject: Re: SELECT problem