Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f0JJHM043843 for ; Fri, 19 Jan 2001 14:17:22 -0500 (EST) (envelope-from pgsql-interfaces-owner@postgresql.org) Received: from vms1.isc.rit.edu (vms1.isc.rit.edu [129.21.3.8]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0JIHE038051 for ; Fri, 19 Jan 2001 13:17:14 -0500 (EST) (envelope-from mai3116@ritvax.isc.rit.edu) Received: from neovintage ([129.21.134.44]) by ritvax.isc.rit.edu (PMDF V5.2-32 #41784) with SMTP id <01JZ3BQ6QF0YV1MIO5@ritvax.isc.rit.edu> for pgsql-interfaces@postgresql.org; Fri, 19 Jan 2001 12:51:29 EST Date: Fri, 19 Jan 2001 12:49:14 -0500 From: Mindaugas Idzelis Subject: RE: bug in ODBC driver (and fix) In-reply-to: <8536.979919081@sss.pgh.pa.us> To: Tom Lane Cc: pgsql-interfaces@postgresql.org Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-Archive-Number: 200101/218 X-Sequence-Number: 836 If it was fixed in 7.0.3, it has not yet been fixed in 7.1beta3. In which case, I have taken the source for the ODBC driver version 6.5 patched it without the int4out() function, and compiled it. The driver is available at http://neovintage.com/postgresODBC. This should help anyone using ODBC with 7.1beta3. By the way. How come one of my applications (platinum erwin) does not get any primary (or foreign) key information from the ODBC driver. When I was using mySQL with the myODBC driver it got primary key information. Also, what is wrong with the following sql query? create unique index primary on tablename ( tableid ); this works: create unique index primary2 on tablename (tableid ); it's allegedly a parse error. (in the database as well as the ODBC driver) thank you. -----Original Message----- From: Tom Lane [mailto:tgl@sss.pgh.pa.us] Sent: Friday, January 19, 2001 10:45 AM To: Mindaugas Idzelis Cc: pgsql-interfaces@postgresql.org Subject: Re: [INTERFACES] bug in ODBC driver (and fix) Mindaugas Idzelis writes: > the int4out() function should be removed. Yes, it should. This is fixed as of 7.0.3, IIRC. regards, tom lane