From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Hiroshi Inoue <Inoue@tpf.co.jp>
Cc: PostgreSQL-interfaces <pgsql-interfaces@postgresql.org>
Cc: wgriffin@tislabs.com
Subject: ODBC fix
Date: Wed, 8 Jan 2003 09:59:56 -0500 (EST)
Message-ID: <200301081459.h08Exu715819@candle.pha.pa.us> (raw)
In-Reply-To: <3E1BEFFE.88B57516@tpf.co.jp>
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
Attachments:/bjm/diff (text/plain, 462B) download
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, "
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: pgman@candle.pha.pa.us, Inoue@tpf.co.jp, wgriffin@tislabs.com
Subject: Re: ODBC fix
In-Reply-To: <200301081459.h08Exu715819@candle.pha.pa.us>
* 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