Re: warning in pg_upgrade

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: warning in pg_upgrade
Date: 2011-11-04 14:41:53
Message-ID: CA+TgmoYLZ+PSdLheC-SXoKkXqnuvWMfmxhZ_Y7G7vYTwEq_V=A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Nov 3, 2011 at 3:45 PM, Kevin Grittner
<Kevin(dot)Grittner(at)wicourts(dot)gov> wrote:
> "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> wrote:
>> Untested patch attached for purposes of discussion.
>
> I got in a little testing on it -- not only does this patch
> eliminate the compile-time warning, but if you try to run pg_upgrade
> when another session has removed your current working directory, you
> get a reasonable message instead of the program attempting to
> proceed with undefined (potential garbage) for a working directory.

Committed. Also fixed another compiler warning that popped up for me.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-11-04 14:43:48 Re: IDLE in transaction introspection
Previous Message Tom Lane 2011-11-04 14:40:16 Re: Show sequences owned by