Re: poll: CHECK TRIGGER? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: poll: CHECK TRIGGER?
Date
Msg-id 1331334034.23681.17.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: poll: CHECK TRIGGER?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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.



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: poll: CHECK TRIGGER?
Next
From: Tatsuo Ishii
Date:
Subject: missing description initdb manual