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: | 20070719032934.GA2905@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
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
functions.
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 http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2007-07-19 11:44:44 | Re: Async Commit, v21 (now: v22) |
Previous Message | Chris Browne | 2007-07-19 01:57:22 | Re: execl() sentinel |