Eduardo,
On Tue, Mar 27, 2001 at 11:11:12AM -0300, Eduardo Stern wrote:
> Well, Jason, the problem only occured if I used the full
> cygwin-inst-20010325.tar.bz2, and then compiled postgresql. If I only change
> the cygwin1.dll, everything works.
You are correct. I have isolated the problem and I am submitting a
patch to Cygwin to fix it.
In case you are wondering, FindExec() in src/backend/utils/init/findbe.c
is failing due to a change in Cygwin's stat implementation. Try the
attached program *built* with 1.1.8-2 and then the 2001-03-25 snapshot
to see the difference.
With the snapshot, you will get the following:
$ vb /usr/local/pgsql/bin/postgres.exe
ValidateBinary: "/usr/local/pgsql/bin/postgres.exe" is not user read/execute
ValidateBinary() = -1
Thanks for the heads up.
Jason
--
Jason Tishler
Director, Software Engineering Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp. Fax: +1 (732) 264-8798
82 Bethany Road, Suite 7 Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com