Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 6D41B476F61 for ; Wed, 8 Jan 2003 10:00:06 -0500 (EST) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id 86FF9476E02 for ; Wed, 8 Jan 2003 10:00:03 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id h08Exu715819; Wed, 8 Jan 2003 09:59:56 -0500 (EST) From: Bruce Momjian Message-Id: <200301081459.h08Exu715819@candle.pha.pa.us> Subject: ODBC fix In-Reply-To: <3E1BEFFE.88B57516@tpf.co.jp> To: Hiroshi Inoue Date: Wed, 8 Jan 2003 09:59:56 -0500 (EST) Cc: PostgreSQL-interfaces , wgriffin@tislabs.com X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=ELM1042037996-13008-0_ Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/41 X-Sequence-Number: 3541 --ELM1042037996-13008-0_ Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII I just received and applied the following ODBC patch from Wes Griffin. It fixes a foreign key query I broke during my cleanups. Can we make a new release of ODBC? Thanks. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 --ELM1042037996-13008-0_ Content-Transfer-Encoding: 7bit Content-Type: text/plain Content-Disposition: inline; filename="/bjm/diff" diff -urN psqlodbc.orig/info.c psqlodbc/info.c --- psqlodbc.orig/info.c 2003-01-03 16:17:59.000000000 -0500 +++ psqlodbc/info.c 2003-01-07 19:12:16.000000000 -0500 @@ -3424,7 +3424,7 @@ { schema_strcat(schema_needed, "%.*s", szFkTableOwner, cbFkTableOwner, szFkTableName, cbFkTableName, conn); sprintf(tables_query, - "SELECT pt.tgargs, " + "SELECT pt1.tgargs, " " pt1.tgnargs, " " pt1.tgdeferrable, " " pt1.tginitdeferred, " --ELM1042037996-13008-0_--