Re: template0 1 psql -d .. (newbie)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Loeke <LoekeDoeLoekeDoe(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: template0 1 psql -d .. (newbie)
Date: 2002-11-28 22:39:20
Message-ID: 16787.1038523160@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Loeke <LoekeDoeLoekeDoe(at)hotmail(dot)com> writes:
> why does template0 not work?

It's not supposed to.

> is this the only way to use psql : psql -d templateXX
> or can you also get something working like: psql -d mydb

You need to create some databases in your installation. You may care to
read a little in the Administrator's Guide, eg
http://www.ca.postgresql.org/users-lounge/docs/7.2/postgres/managing-databases.html
which in particular explains what template0 is for and why the system
won't let you into it.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Holger Klawitter 2002-11-28 22:45:51 Re: Why does everyone think MySQL is easier?
Previous Message Tom Lane 2002-11-28 22:36:19 Re: Create Timestamp From Date and Time