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

Re: execl() sentinel

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Chris Browne <cbbrowne(at)acm(dot)org>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: execl() sentinel
Date: 2007-07-19 03:29:34
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Chris Browne wrote:
> neilc(at)samurai(dot)com (Neil Conway) writes:
> > On Wed, 2007-07-18 at 17:22 -0400, Alvaro Herrera wrote:
> >> I wouldn't know how to look for other variadic functions using NULL
> >> sentinels though.
> >
> > You would need something with more knowledge of C than "grep" has, at
> > any rate. Perhaps you could teach sparse to do this analysis, if it
> > can't do it already...
> sgrep might be smart enough...  I quite like sgrep...

Interesting tool.

However as for tools, I use cscope very succesfully for this kind of
thing.  But what we would need in this case is a list of variadic

Or were you thinking in getting a list of called functions in Postgres,
and some way of figuring out which of these were variadic?

Alvaro Herrera                      
The PostgreSQL Company - Command Prompt, Inc.

In response to

pgsql-patches by date

Next:From: Simon RiggsDate: 2007-07-19 11:44:44
Subject: Re: Async Commit, v21 (now: v22)
Previous:From: Chris BrowneDate: 2007-07-19 01:57:22
Subject: Re: execl() sentinel

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