Re: [INTERFACES] Foreign Keys - Mailing list pgsql-interfaces

From Thomas G. Lockhart
Subject Re: [INTERFACES] Foreign Keys
Date
Msg-id 36DE9081.529561FC@alumni.caltech.edu
Whole thread Raw
In response to RE: [INTERFACES] Foreign Keys  (Michael Davis <michael.davis@prevuenet.com>)
List pgsql-interfaces
> Thanks. That was what i was looking for. It's been real useful!
> I also put this other line to handle the inverse case (NULL = field)
>
>  | NULL_P '=' a_expr
>     { $$ = makeA_Expr(ISNULL, NULL, $3, NULL); }

This leads to a shift/reduce conflict in yacc. I've been working on this
a bit, and have modified gram.y (so far just in my local copy) to allow
Jose's syntax and to allow the same syntax in a constraint declaration.
But this variant may be tougher to do correctly...

                        - Tom

pgsql-interfaces by date:

Previous
From: "Christopher R. Jones"
Date:
Subject: Postgre Perl on WIN NT
Next
From: "Thomas G. Lockhart"
Date:
Subject: Re: [INTERFACES] libpq++ - copy - default values