Tom Lane wrote:
> Luke Koops <luke.koops@entrust.com> writes:
>> Heikki is proposing that the file be renamed before it is first deleted.
>
> Indeed, and what I'm saying is that that will still fail if some
> unhelpful program is holding the file open without FILE_SHARE_DELETE.
> Which is what I understood your case to be ...
No, it's a backend that's holding the file open, with FILE_SHARE_DELETE.
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com