Skip site navigation (1) Skip section navigation (2)

Re: BUG #1634: Configure step for build does not define HAVE_POSIX_SIGNALS

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Don Courtney <donald(dot)courtney(at)sun(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1634: Configure step for build does not define HAVE_POSIX_SIGNALS
Date: 2005-04-27 19:58:05
Message-ID: 200504271958.j3RJw5S17886@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
Don Courtney wrote:
> 
> The following bug has been logged online:
> 
> Bug reference:      1634
> Logged by:          Don Courtney
> Email address:      donald(dot)courtney(at)sun(dot)com
> PostgreSQL version: 8.0/8.1
> Operating system:   Solaris 10
> Description:        Configure step for build does not define
> HAVE_POSIX_SIGNALS
> Details: 
> 
> Subj: ./src/include/pg_config.h Does not define HAVE_POSIX_SIGNALS.
> 
> To recreate the problem on Solaris run the source build step for
> configuring.
> 
> $ ./configure
> 
> Then 
> 
> $ cd ./src/include
> 
> and see that there is no "1" in the define statement
> 
> #define HAVE_POSIX_SIGNALS

We merely define the macro --- we don't need to set it to '1'.

> For postgres to run properly without ZOMBIE processes the workaround is to
> hand edit this to:
> 
>   /* Define to 1 if you have the POSIX signal interface. */
> #define HAVE_POSIX_SIGNALS 1    <---- ADD 1

That fixes it?  You will notice all the mentions of HAVE_POSIX_SIGNALS
are testing if it is defined or not.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-bugs by date

Next:From: Oliver JowettDate: 2005-04-27 23:35:30
Subject: Re: BUG #1628: JDBC bug with regard to text column data type
Previous:From: TomDate: 2005-04-27 17:49:59
Subject: BUG #1635: Failed to create process for initdb

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group