Re: Optional postgres database not so optional in 8.1

From: "Michael Paesold" <mpaesold(at)gmx(dot)at>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, "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:28:01
Message-ID: 008101c5eb8b$80411ea0$0f01a8c0@zaphod
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Joshua D. Drake wrote:

>> 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?

It's the '-l' option (list all databases) that does not honor the database
given on the command line.

This does not work, if the postgres database is dropped in 8.1:

psql -l template1
psql -l -d template1

of course "psql template1" will just work fine.

Best Regards,
Michael Paesold

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2005-11-17 15:45:48 Re: CLUSTER and clustered indices
Previous Message Simon Riggs 2005-11-17 15:25:26 CLUSTER and clustered indices