template0 1 psql -d .. (newbie)

From: Loeke <LoekeDoeLoekeDoe(at)hotmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: template0 1 psql -d .. (newbie)
Date: 2002-11-27 15:17:42
Message-ID: as2nn6$l9n$1@naxos.belnet.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

ls, really newbie questions

summary:
i installend postgres 7.2 (on suse),
-> ( so now, for the first time, i did)
initdb /var/pg
postmaster -D var/pg
psql doenst work
psql -l
returns template0 and template1
psql -d template0 gives an error : not currently accepting connections
(dont know why, how do i fix this)
psql -d template1 works

question:
why does template0 not work?
is this the only way to use psql : psql -d templateXX
or can you also get something working like: psql -d mydb

tnx,

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Doug McNaught 2002-11-27 15:25:47 Re: How does postgres handle non literal string values
Previous Message Jean-Christian Imbeault 2002-11-27 15:06:21 Re: 7.3RC1 ?? Re: PostgreSQL compilation with custom table