From: Thomas G. Lockhart <lockhart@alumni.caltech.edu>
To: Valerio Santinelli <tanis@mediacom.it>
Cc: jose' soares <sferac@bo.nettuno.it>
Cc: 'pgsql-interfaces@postgreSQL.org' <pgsql-interfaces@postgreSQL.org>
Cc: Michael Davis <michael.davis@prevuenet.com>
Subject: Re: [INTERFACES] Foreign Keys
Date: Thu, 04 Mar 1999 13:54:09 +0000
Message-ID: <36DE9081.529561FC@alumni.caltech.edu> (raw)
References: <93C04F1F5173D211A27900105AA8FCFC145219@lambic.prevuenet.com>
<36DC61D6.6DF4E87D@insightdist.com>
<36DD1FD2.11561615@mediacom.it>
<36DD3669.3A62A57F@bo.nettuno.it>
<36DD6CEC.967BBD0C@bo.nettuno.it>
<36DE7632.F0CFF0AC@mediacom.it>
> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: lockhart@alumni.caltech.edu, tanis@mediacom.it, sferac@bo.nettuno.it, michael.davis@prevuenet.com
Subject: Re: [INTERFACES] Foreign Keys
In-Reply-To: <36DE9081.529561FC@alumni.caltech.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox