This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Cygwin CVS breaks PostgreSQL drop table


The following commit:

    http://www.cygwin.com/ml/cygwin-cvs/2001-q2/msg00276.html

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:

    http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/syscalls.cc.diff?cvsroot=uberbaum&r1=1.122&r2=1.123

which has the corresponding ChangeLog entry:

    * syscalls.cc (_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.

Thanks,
Jason

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]