Cygwin CVS breaks PostgreSQL drop table

Jason Tishler
Fri Jul 13 09:12:00 GMT 2001

The following commit:

causes PostgreSQL to hang when it tries to drop a table.  Note that the
hang occurs on both NT 4.0 SP5 and 2000 SP1.  I did not test on 9X/Me.

The specific part of the commit that causes the hang is:

which has the corresponding ChangeLog entry:

    * (_unlink): Reorganize to try harder to delete file with
    DeleteFile and to recover more gracefully if FILE_FLAG_DELETE_ON_CLOSE
    doesn't work properly.

When I back out the this patch the hang is prevented.

I will try to dig some more and devise a patch (if I can), but I wanted
to at least give a heads up in the meantime.


Jason Tishler
Director, Software Engineering       Phone: 732.264.8770 x235
Dot Hill Systems Corp.               Fax:   732.264.8798
82 Bethany Road, Suite 7             Email:
Hazlet, NJ 07730 USA                 WWW:

More information about the Cygwin-developers mailing list