Fwd: Cygwin CVS breaks PostgreSQL drop table
Fwd: Cygwin CVS breaks PostgreSQL drop table
От:
Jason Tishler <Jason.Tishler@dothill.com>
Дата:
FYI, see attached.
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
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
Re: Fwd: Cygwin CVS breaks PostgreSQL drop table
От:
Jason Tishler <Jason.Tishler@dothill.com>
Дата:
On Fri, Jul 13, 2001 at 12:14:54PM -0400, Jason Tishler wrote:
> 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.
This problem is fixed in the current Cygwin CVS and will be available
in the next snapshot. If interested, see the mailing list thread that
begins with:
http://www.cygwin.com/ml/cygwin-patches/2001-q3/msg00012.html
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