From: skennedy <skennedy@tissat.es>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: [ADMIN] <pgsql-admin@postgresql.org>
Subject: Re: Creating users in a second postgres server.
Date: Wed, 05 Nov 2003 16:35:44 +0100
Message-ID: <3FA918D0.9000207@tissat.es> (raw)
In-Reply-To: <2070.1068045482@sss.pgh.pa.us>
References: <3FA8C738.5090604@tissat.es>
<2070.1068045482@sss.pgh.pa.us>
Thanks Tom,
PGPORT was unset in the environment.
I set it to 5433 and things started to work.
If I configured the server to user 5433 before building (using
--with-pg_port=5433 in configure) shouldn't the clients, etc
automatically look for port 5433?
The executables ARE the ones I compiled using 5433, (according to
"which" anyway) :)
Everything seems to work now anyway but it would be interesting/useful
to know what I did wrong. Is there a trace/log
of some sort which might hold the answer?
Stephen Kennedy.
Tom Lane wrote:
>"skennedy" <skennedy@tissat.es> writes:
>
>
>>however, when I try and create a user I get
>>bash-2.03$ createuser idip_734
>>Shall the new user be allowed to create databases? (y/n) y
>>Shall the new user be allowed to create more new users? (y/n) n
>>psql: FATAL 1: user "p_sql734" does not exist
>>
>>
>
>Looks to me like you are talking to the old server. Perhaps you have
>PGPORT set to 5432 in your environment? Or you got your PATH wrong,
>so that you are invoking the older copy of createuser, which will
>naturally default to port 5432?
>
> regards, tom lane
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: skennedy@tissat.es, tgl@sss.pgh.pa.us
Subject: Re: Creating users in a second postgres server.
In-Reply-To: <3FA918D0.9000207@tissat.es>
References: <3FA8C738.5090604@tissat.es> <2070.1068045482@sss.pgh.pa.us> <3FA918D0.9000207@tissat.es>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox