Re: Optional postgres database not so optional in 8.1

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Optional postgres database not so optional in 8.1
Дата
Msg-id 25898.1132238772@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Optional postgres database not so optional in 8.1  ("John Hansen" <john@geeknet.com.au>)
Список pgsql-hackers
"John Hansen" <john@geeknet.com.au> writes:
> Maybe it should fallback to template1 if the postgres database doesn't
> exist?

[ shrug... ]  template1 can be dropped, too.  More to the point, if
they fall back to connecting to template1, then we lose the very thing
we wanted to gain, which is that there aren't transient connections to
template1 that might draw CREATE DATABASE's ire.

None of these programs are essential -- you can always do "psql mydb"
and then execute the operations from within mydb -- so I don't see a
pressing need to complicate them to deal with nonstandard environments.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: MERGE vs REPLACE
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Optional postgres database not so optional in 8.1