Re: Creating a user fails

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Werner Schalk" <werner_schalk(at)gmx(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Creating a user fails
Date: 2002-06-22 22:01:45
Message-ID: 4920.1024783305@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Werner Schalk" <werner_schalk(at)gmx(dot)de> writes:
> postgres(at)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Neil Conway 2002-06-22 22:21:08 Re: SELECT problem
Previous Message Tom Lane 2002-06-22 21:59:01 Re: SQL server application porting headache