This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: psql "setsid" error




Reini Urban wrote:
Gary . schrieb:
psql: FATAL:  setsid() failed:
Operation not permitted

Hmm, known problem. I'll change it like sed --in-place -e's/#define HAVE_SETSID 1/#undef HAVE_SETSID/' \ src/include/pg_config.h


This is completely the wrong thing to do. pg_config.h is an autogenerated file. If anything, it should go in pg_config_manual.h, but much better would be to fix the configure check, if it's wrong. Just hacking the config files is a losing game.


Butr why does it fail anyway? It works just fine on the PostgreSQL Buildfarm. See <http://www.pgbuildfarm.org/cgi-bin/show_stage_log.pl?nm=brown_bat&dt=2010-05-09%20183006&stg=config>

cheers

andrew

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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