Re: _GNU_SOURCE

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, "Jeroen Ruigrok/asmodai" <asmodai(at)wxs(dot)nl>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: _GNU_SOURCE
Date: 2003-10-09 15:25:42
Message-ID: 200310091525.h99FPgC04352@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > OK, next question is whether we should use _GNU_SOURCE only for plperl
> > compile, rather than everything. _GNU_SOURCE seems to do lots of stuff
> > that I am uncertain about.
>
> We've been using it for awhile, and it's not broken anything. Why are
> you so eager to make build changes with potentially wide ramifications
> so late in the beta cycle? I didn't agree with your changes to CFLAGS

I don't know what the ramifications of _GNU_SOURCE are, but we have run
longer without it than with it. Seems safest to have it only where we
need it, in plperl.

> yesterday, either. The risk of breaking things on some platform greatly
> outweighs the potential benefits at this stage.

Well, the compile flags were broken by almost any measure. I don't
want to ship without optimization for 7.4 for all those platforms.

--
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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-10-09 15:26:47 Re: 2-phase commit
Previous Message Mike Mascari 2003-10-09 15:22:05 Re: 2-phase commit