Magnus Hagander <mag...@hagander.net> writes: > On Fri, Sep 11, 2009 at 10:44, Heikki Linnakangas >> Here's a patch implementing that, and changing pgrename() to check for >> ERROR_SHARING_VIOLATION and ERROR_LOCK_VIOLATION like pgwin32_open() >> does, instead of ERROR_ACCESS_DENIED.
> I have definitely seen AV programs return access deniderather than > sharing violation more than once for temporary errors. How about we > keep the access denied one as well? +1 ... presumably the original coding was tested in *some* environment. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers