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

From Valerio Santinelli
Subject Re: [INTERFACES] Foreign Keys
Date
Msg-id 36DF1694.DAF0907B@mediacom.it
Whole thread Raw
In response to RE: [INTERFACES] Foreign Keys  (Michael Davis <michael.davis@prevuenet.com>)
List pgsql-interfaces

"Thomas G. Lockhart" wrote:

> > 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...

I don't exactly know what you mean, but it's working fine here.

--

C'ya!

Valerio Santinelli a.k.a. TANiS
[tanis@mediacom.it]+:+[http://www.mediacom.it/~tanis]



pgsql-interfaces by date:

Previous
From: James Thompson
Date:
Subject: Re: [INTERFACES] ECPG & 'exec sql connect to' question
Next
From: "Christopher R. Jones"
Date:
Subject: PostgreSQL Perl Module