Thread: ODBC fix

ODBC fix

From
Bruce Momjian
Date:
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
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, "

Re: ODBC fix

From
Hiroshi Inoue
Date:
Bruce Momjian wrote:
> 
> 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.

Sorry I'm not ready.

regards,
Hiroshi Inouehttp://w2422.nsk.ne.jp/~inoue/