Re: Command Triggers - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Command Triggers
Date
Msg-id 2281.1326837425@sss.pgh.pa.us
Whole thread Raw
In response to Re: Command Triggers  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Responses Re: Command Triggers
List pgsql-hackers
Dimitri Fontaine <dimitri@2ndQuadrant.fr> writes:
> I still have some cleaning to do before to prepare the next patch
> version, such as documentation updating and dealing with rewrites of
> CHECK and DEFAULT column constraints in CREATE TABLE.  I had to add
> support for the T_A_Const parser node, and now I'm about to see about
> adding support for the T_A_Expr one, but I can't help to wonder how the
> rewriter could work without them.

It doesn't, and it shouldn't have to.  If those nodes get to the
rewriter then somebody forgot to apply parse analysis.  What's your test
case?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: SKIP LOCKED DATA
Next
From: Robert Haas
Date:
Subject: Re: Why is CF 2011-11 still listed as "In Progress"?