Re: Optional postgres database not so optional in 8.1

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: John Hansen <john(at)geeknet(dot)com(dot)au>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Optional postgres database not so optional in 8.1
Date: 2005-11-17 15:08:34
Message-ID: 437C9CF2.2040505@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

John Hansen wrote:
> On a fresh installation of postgrsql 8.1 if you drop the
> 'postgres' database,
> psql, createdb, etc. no longer works.
>
> psql -l; ignores -dtemplate1, and createdb doesn't have such an option.
>
I can't test createdb here but on the psql... what happens if you just:

psql -Upostgres template1?

> Maybe it should fallback to template1 if the postgres database doesn't
> exist?
>
> ... John
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2005-11-17 15:15:30 Re: MERGE vs REPLACE
Previous Message Andreas Pflug 2005-11-17 14:49:10 Re: Numeric 508 datatype