psql "setsid" error

Andrew Dunstan andrew@dunslane.net
Wed May 12 13:11:00 GMT 2010



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



More information about the Cygwin mailing list