Re: [COMMITTERS] pgsql: Allow copydir() to be interrupted. - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [COMMITTERS] pgsql: Allow copydir() to be interrupted.
Date
Msg-id AANLkTikhfT0glNIRuWSFC9YmL-Euflm9fnEGBzNbe5AS@mail.gmail.com
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Allow copydir() to be interrupted.  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: [COMMITTERS] pgsql: Allow copydir() to be interrupted.
List pgsql-hackers
On Fri, Jul 2, 2010 at 11:07 AM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Fri, Jul 2, 2010 at 10:21 AM, Robert Haas <robertmhaas@gmail.com> wrote:
>> On Fri, Jul 2, 2010 at 10:18 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> Robert Haas <robertmhaas@gmail.com> writes:
>>>>>> This appears to have broken MinGW and Cygwin builds on the buildfarm.
>>>>
>>>> Well, that's not awesome. IM-ing with Magnus now.  I'm wondering if
>>>> this is a link-ordering problem of some kind.
>>>
>>> Possibly an #ifndef FRONTEND will fix it.
>>
>> What's failing to link is postgres.exe
>
> I suspect that moving copydir.c into the backend will fix this, but I
> don't have an appropriate build environment to test.  Can someone
> please test the attached patch?

Andrew confirms that this works on mingw, so I'm going to go ahead and
check it in and see what happens.

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


pgsql-hackers by date:

Previous
From: "David E. Wheeler"
Date:
Subject: Re: hstore ==> and deprecate =>
Next
From: Andrew Dunstan
Date:
Subject: Re: server authentication over Unix-domain sockets