Re: initdb and login after

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: alex(at)icctools(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: initdb and login after
Date: 2004-03-26 16:07:40
Message-ID: 24441.1080317260@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

alex(at)icctools(dot)com writes:
> Ive been having a weird problem recently. Ive been using initdb to
> initialize a new postgres, but the as soon as i try and log in, i keep
> on getting and "no PostgreSQL user name specified in startup packet"
> error. Should this not be ok?

That's not an easy error to get --- most of our client-side programs try
hard to provide some user name. What are you doing to "log in", exactly?
Do you perhaps have PGUSER set to an empty string in your environment?

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Robert Treat 2004-03-26 16:08:49 Re: Where are these tables??
Previous Message Tom Lane 2004-03-26 15:59:27 Re: Passing a row