From: | Thomas Good <tomg(at)q8(dot)nrnet(dot)org> |
---|---|
To: | Gerhard Kroder <Gerhard(dot)Kroder(at)de(dot)ibm(dot)com> |
Cc: | PostgreSQL Novice List <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: psql won't start |
Date: | 2000-11-09 15:06:58 |
Message-ID: | Pine.LNX.3.96.1001109100518.6345A-100000@q8.nrnet.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
On Thu, 9 Nov 2000, Gerhard Kroder wrote:
> > $ psql <dbname>
> > For exam: $ psql template1
>
>
> hmm, IMHO not necessarily. At least here psql connects to a default
> database, which is template1 unless you set it otherwise....
>
> My guess: there is no database at all, just the system. You need to
> initialize one first (initdb). On my Debian System it gets initialized
> when installing PostgreSQL from Debian Packages.
Hallo Gerhard,
This is not the case on RedHat, Slackware, FreeBSD or UnixWare.
Don't know about SuSe(?)
On these systems psql needs an arg else it complains that the
database 'tomg' does not exist. ;-)
Ciao
--------------------------------------------------------------------
SVCMC - Center for Behavioral Health
--------------------------------------------------------------------
Thomas Good tomg@ { admin | q8 } .nrnet.org
IS Coordinator / DBA Phone: 718-354-5528
Fax: 718-354-5056
--------------------------------------------------------------------
Powered by: PostgreSQL s l a c k w a r e FreeBSD:
RDBMS |---------- linux The Power To Serve
--------------------------------------------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | Gerhard Kroder | 2000-11-09 15:21:03 | Re: psql won't start |
Previous Message | Robert D. Nelson | 2000-11-09 14:59:00 | RE: psql won't start |