Re: Optional postgres database not so optional in 8.1 - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Optional postgres database not so optional in 8.1
Date
Msg-id 437D179D.5080502@dunslane.net
Whole thread Raw
In response to Re: Optional postgres database not so optional in 8.1  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Optional postgres database not so optional in 8.1  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers

Andrew Dunstan wrote:

>>
>> It does seem a bit inconsistent that psql wouldn't connect to the
>> specified database in order to do -l, if one is specified.
>> Anyone want to look and see if it's easy to change?
>>  
>>
>
>
>       options.action == ACT_LIST_DB  && options.dbname == NULL ? 
> "postgres" : options.dbname
>

Tested, and worked fine.

Committed on Head and 8.1 branches.

cheers

andrew


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Improving count(*)
Next
From: Joe Conway
Date:
Subject: Re: Some array semantics issues