X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_05,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org X-Authority-Analysis: v=1.1 cv=cJUVGx7wVpwO0rV6Rw4+qp3YFrg6+tUn38RTSuXD3eA= c=1 sm=0 a=8nJEP1OIZ-IA:10 a=qCTYjJJ2g1SgQhsHZAUATw==:17 a=l7Y9EBvAAAAA:8 a=Ba9ntAOCdqGGpd6ugcsA:9 a=0MKNm3hrtSbvwwmz50GO-nCwlagA:4 a=wPNLvfGTeEIA:10 a=qCTYjJJ2g1SgQhsHZAUATw==:117 Message-ID: <4BE99840.7050903@dunslane.net> Date: Tue, 11 May 2010 13:47:44 -0400 From: Andrew Dunstan User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.12) Gecko/20071019 Fedora/1.0.9-3.fc6 pango-text SeaMonkey/1.0.9 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: psql "setsid" error References: <4BE99110 DOT 2080107 AT x-ray DOT at> In-Reply-To: <4BE99110.2080107@x-ray.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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