Re: poll: CHECK TRIGGER?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: poll: CHECK TRIGGER?
Date: 2012-03-09 23:00:34
Message-ID: 1331334034.23681.17.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On fre, 2012-03-09 at 15:33 -0500, Tom Lane wrote:
> What I've wanted from this patch from the beginning was a
> common framework. That is, I want to be able to write something like
>
> SELECT check_function(oid) FROM pg_proc WHERE proowner = 'tgl'
>
> and have it "just work" for all languages for which I have checkers.
> You can't get that with a collection of ad-hoc checkers.

Well, there isn't any program either that will run through, say, the
PostgreSQL source tree and check each file according to the respective
programming language. You pick the checkers for each language yourself
and decide for each checker how to apply it and how to process the
results.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2012-03-09 23:30:09 missing description initdb manual
Previous Message Peter Eisentraut 2012-03-09 22:54:10 Re: poll: CHECK TRIGGER?