Received: from geode.mediacom.it (geode.mediacom.it [194.184.0.2]) by hub.org (8.9.2/8.9.1) with ESMTP id QAA13007 for ; Thu, 4 Mar 1999 16:27:26 -0500 (EST) (envelope-from tanis@mediacom.it) Received: from mediacom.it (total49.mediacom.it [194.184.0.115]) by geode.mediacom.it (8.9.1/8.9.1) with ESMTP id WAA23904; Thu, 4 Mar 1999 22:21:49 +0100 Message-ID: <36DF1694.DAF0907B@mediacom.it> Date: Thu, 04 Mar 1999 20:26:13 -0100 From: Valerio Santinelli X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: "Thomas G. Lockhart" CC: "jose' soares" , "'pgsql-interfaces@postgreSQL.org'" , Michael Davis Subject: Re: [INTERFACES] Foreign Keys 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> <36DE9081.529561FC@alumni.caltech.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "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]