On Sat, Sep 19, 2009 at 04:40:19PM -0700, Jeff Davis wrote: > On Sat, 2009-09-19 at 18:35 -0400, Tom Lane wrote: > > I'm still acutely uncomfortable with using CONSTRAINT syntax for this. > > It is not a constraint per standard, because it's not going to be > > displayable in information_schema. Furthermore, by extending > > standardized syntax you run the risk of being blindsided by future > > additions to the standard. > > Ok.
It just occurred to me that SQL:2008 ASSERTION might already fit this feature. :)