Re: misleading error message from connectMaintenanceDatabase()

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Josh Kupershmidt <schmiddy(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: misleading error message from connectMaintenanceDatabase()
Date: 2012-03-21 14:58:40
Message-ID: CA+TgmoYcRz8J_T=ArcXR57TzPrPmXwfbdf_D6_-XYqTVd8BkAQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Feb 28, 2012 at 12:05 AM, Josh Kupershmidt <schmiddy(at)gmail(dot)com> wrote:
> A simple fix would be just to pass fail_ok = false for the last
> connectDatabase() call inside connectMaintenanceDatabase(), and give
> up on trying to tack on a likely-misleading hint about the maintenance
> database. Patch attached.

Committed. Thanks for the report and patch; sorry for the delay.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2012-03-21 15:00:59 Re: Gsoc2012 Idea --- Social Network database schema
Previous Message Alvaro Herrera 2012-03-21 14:57:53 Re: renaming domain constraint