Re: Test database for new installs?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Test database for new installs?
Дата
Msg-id 200411190927.59982.peter_e@gmx.net
обсуждение исходный текст
Ответ на Test database for new installs?  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: Test database for new installs?
Список pgsql-hackers
Am Donnerstag, 18. November 2004 22:07 schrieb Josh Berkus:
> a) new users try just to "psql" as postgres, and get a "no such database
> postgres";

This "problem" has been recognized before.  I think a possible solution is to 
make psql recognize the error (the error code regime in libpq would have to 
be extended for that), recognize that the user didn't specify a database, and 
then tell him something like:

ERROR: no such database "postgres"
HINT: Since no database was specified explicitly, the name of the current user 
was taken as the database name.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: [Plperlng-devel] Re: Concern about new PL/Perl
Следующее
От: Troels Arvin
Дата:
Сообщение: Adding a suffix array index