Re: psql won't start - Mailing list pgsql-novice

From Gerhard Kroder
Subject Re: psql won't start
Date
Msg-id 3A0AC0DF.1733028C@de.ibm.com
Whole thread Raw
In response to RE: psql won't start  ("Robert D. Nelson" <RDNELSON@co.centre.pa.us>)
List pgsql-novice
"Robert D. Nelson" wrote:
>
> >hmm, IMHO not necessarily. At least here psql connects to a default
> >database, which is template1 unless you set it otherwise....
>
> Typically, "psql" by itself will attempt to connect to a database with the
> current users name.

you are right, this is also documented in psql's man page. i didn't
know, because it works works different here. debian's way is a little
different... just took a look on README's, using template1 is currently
the package maintainers setting, and debian's policy comes in touch,
too.


> was logged on as postgres, but only had a template1 database.

(what would be ok on debian systems). i'm novice myself, so no more
ideas....

--
Gerhard Kroder

pgsql-novice by date:

Previous
From: Thomas Good
Date:
Subject: Re: psql won't start
Next
From: "Diego A. Puertas F."
Date:
Subject: Re: psql won't start