Re: execl() sentinel

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: execl() sentinel
Дата
Msg-id 20070719032934.GA2905@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: execl() sentinel  (Chris Browne <cbbrowne@acm.org>)
Список pgsql-patches
Chris Browne wrote:
> neilc@samurai.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.

В списке pgsql-patches по дате отправления:

Предыдущее
От: Chris Browne
Дата:
Сообщение: Re: execl() sentinel
Следующее
От: "Simon Riggs"
Дата:
Сообщение: Re: Async Commit, v21 (now: v22)