Re: odd output in restore mode - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: odd output in restore mode
Date
Msg-id 482904FD.4030006@dunslane.net
Whole thread Raw
In response to Re: odd output in restore mode  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: odd output in restore mode  (Simon Riggs <simon@2ndquadrant.com>)
List pgsql-hackers

Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>   
>> Simon Riggs wrote:
>>     
>>> Well, the patch was rejected long ago, not sure why its in this
>>> commitfest. But its an open issue on the Windows port.
>>>       
>
>   
>> Surely the right fix is to use the recently implemented 
>> pgwin32_safestat() (if we aren't already - I suspect we probably are) 
>> and remove the kluge in pg_standby.c.
>>     
>
> I think the open issue is how to know whether pgwin32_safestat fixes the
> problem that the kluge tried to work around.
>
>             
>   

Well, I think we need to consider quite a number of scenarios. The 
archive directory could be local, on a remote Windows machine, or on a 
remote Samba server. The archive file could be copied by Windows copy, 
or Unix cp, or scp, or rsync, among others.

I'd like to know the setup that was found to produce the error, to start 
with.

cheers

andrew


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Syntax decisions for pl/pgsql RAISE extension
Next
From: "Pavel Stehule"
Date:
Subject: Re: Syntax decisions for pl/pgsql RAISE extension