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

Re: execl() sentinel

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-patches(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <bruce(at)momjian(dot)us>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Subject: Re: execl() sentinel
Date: 2007-07-18 06:27:16
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Tom Lane wrote:
> It's too bad that gcc doesn't have a
> -Wno-snarkiness-about-system-headers-thank-you switch.

It does have a switch to *add* snarkiness about system headers, but does 
not do it by default.

The problem in this case is that an uncast null pointer constant is not 
always a sufficient sentinel for variadic functions, as explained here: 

Peter Eisentraut

In response to


pgsql-patches by date

Next:From: Peter EisentrautDate: 2007-07-18 10:12:02
Subject: Re: Async Commit, v21 (now: v22)
Previous:From: ITAGAKI TakahiroDate: 2007-07-18 04:18:50
Subject: Re: docfix - DELETE doesn't affect auto-analyze

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