Re: Optional postgres database not so optional in 8.1

Поиск
Список
Период
Сортировка
От Michael Paesold
Тема Re: Optional postgres database not so optional in 8.1
Дата
Msg-id 008101c5eb8b$80411ea0$0f01a8c0@zaphod
обсуждение исходный текст
Ответ на Optional postgres database not so optional in 8.1  ("John Hansen" <john@geeknet.com.au>)
Ответы Re: Optional postgres database not so optional in 8.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: CLUSTER and clustered indices
Следующее
От: Tom Lane
Дата:
Сообщение: Re: CLUSTER and clustered indices