Re: review: CHECK FUNCTION statement - Mailing list pgsql-hackers

From Tom Lane
Subject Re: review: CHECK FUNCTION statement
Date
Msg-id 12717.1322669945@sss.pgh.pa.us
Whole thread Raw
In response to Re: review: CHECK FUNCTION statement  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: review: CHECK FUNCTION statement
List pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> 2011/11/30 Alvaro Herrera <alvherre@commandprompt.com>:
>> How about
>> CHECK (parse, names=off) FUNCTION foobar(a, b, c)

> this syntax is relative consistent with EXPLAIN, is it ok for all?

It seems pretty awkward to me, particularly putting the options before
the second keyword of the command --- that could bite us if we ever want
some other flavors of CHECK command.  I prefer Robert's suggestion of a
WITH clause at the end.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Add minor version to v3 protocol to allow changes without breaking backwards compatibility
Next
From: Joe Abbate
Date:
Subject: Re: Reserved words and delimited identifiers