Re: [INTERFACES] Foreign Keys

From: "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>
To: Valerio Santinelli <tanis(at)mediacom(dot)it>
Cc: "jose' soares" <sferac(at)bo(dot)nettuno(dot)it>, "'pgsql-interfaces(at)postgreSQL(dot)org'" <pgsql-interfaces(at)postgreSQL(dot)org>, Michael Davis <michael(dot)davis(at)prevuenet(dot)com>
Subject: Re: [INTERFACES] Foreign Keys
Date: 1999-03-04 13:54:09
Message-ID: 36DE9081.529561FC@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Thomas G. Lockhart 1999-03-04 14:08:55 Re: [INTERFACES] libpq++ - copy - default values
Previous Message Christopher R. Jones 1999-03-04 13:50:04 Postgre Perl on WIN NT