Received: from geode.mediacom.it (geode.mediacom.it [194.184.0.2]) by hub.org (8.9.2/8.9.1) with ESMTP id EAA81642 for ; Wed, 3 Mar 1999 04:42:16 -0500 (EST) (envelope-from tanis@mediacom.it) Received: from mediacom.it (total52.mediacom.it [194.184.0.118]) by geode.mediacom.it (8.9.1/8.9.1) with ESMTP id KAA08979; Wed, 3 Mar 1999 10:36:54 +0100 Message-ID: <36DD1FD2.11561615@mediacom.it> Date: Wed, 03 Mar 1999 08:41:07 -0100 From: Valerio Santinelli X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: Byron Nikolaidis CC: "'pgsql-interfaces@postgreSQL.org'" Subject: Re: [INTERFACES] Foreign Keys References: <93C04F1F5173D211A27900105AA8FCFC145219@lambic.prevuenet.com> <36DC61D6.6DF4E87D@insightdist.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Byron Nikolaidis wrote: > Michael Davis wrote: > > > Here is the psqlodbc.log file. The first time the form opens, it correctly > > opens the first rentalorder. I immediately moved to the new record in > > Access which opens a message box with an ODBC error (no description). I the > > blank rental order looks okay but the rental order lines records all have > > errors. Even if I move back to a valid record, the order lines will show > > only errors. > > > The second problem is this: > > conn=153237224, query='SELECT "RentalOrders"."rentalorderlinesid" FROM "rentalorderlines" > "RentalOrders" WHERE ("rentalorderid" = NULL ) ' > ERROR from backend during send_query: 'ERROR: parser: parse error at or near "null"' > STATEMENT ERROR: func=SC_execute, desc='', errnum=1, errmsg='Error while executing the query' > > Since postgres will not recognize the syntax (where 'col' = null)... it only recognizes > "isnull". I was hoping someone would have added the ability for the parser to handle this at > some point (Hey Dave, maybe you could contribute something here man :-). The second problem is affecting my system as well.. do you think that there's a way around it without waiting for someone to patch the PostgreSQL code ? -- C'ya! Valerio Santinelli a.k.a. TANiS [tanis@mediacom.it]+:+[http://www.mediacom.it/~tanis]