Re: Test database for new installs? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Test database for new installs?
Date
Msg-id 200411190927.59982.peter_e@gmx.net
Whole thread Raw
In response to Test database for new installs?  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Test database for new installs?
List 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 by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: [Plperlng-devel] Re: Concern about new PL/Perl
Next
From: Troels Arvin
Date:
Subject: Adding a suffix array index