Re: [PATCHES] ODBC Driver patch

Lists: Postg배트맨 토토SQL :pgsql-patches
From: Michael Fork <mfork(at)toledolink(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Cc: pgsql-patches(at)postgresql(dot)org
Subject: ODBC Driver patch
Date: 2000-12-06 23:42:03
Message-ID: Pine.BSI.4.21.0012061840010.12589-200000@glass.toledolink.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces pgsql-patches

Here is patch to the ODBC driver to update the version to 2.5 and allow
all forms of foreign keys be exposed to SQLForeignKeys. This patch is in
addition to the ones I mailed yesterday (forget had I changed that as
well....)

Michael Fork - CCNA - MCP - A+
Network Support - Toledo Internet Access - Toledo Ohio

Attachment Content-Type Size
psqlodbc.h.diff text/plain 376 bytes

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Michael Fork <mfork(at)toledolink(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: Re: [PATCHES] ODBC Driver patch
Date: 2000-12-10 23:54:28
Message-ID: 200012102354.SAA10640@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces pgsql-patches

Applied. Thanks.

> Here is patch to the ODBC driver to update the version to 2.5 and allow
> all forms of foreign keys be exposed to SQLForeignKeys. This patch is in
> addition to the ones I mailed yesterday (forget had I changed that as
> well....)
>
> Michael Fork - CCNA - MCP - A+
> Network Support - Toledo Internet Access - Toledo Ohio
Content-Description:

[ Attachment, skipping... ]

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Michael Fork <mfork(at)toledolink(dot)com>, <pgsql-interfaces(at)postgresql(dot)org>, <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [PATCHES] ODBC Driver patch
Date: 2000-12-11 17:20:20
Message-ID: Pine.LNX.4.30.0012111819440.1147-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces pgsql-patches

peter ~/pgsql/src/interfaces/odbc$ make
gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations -fpic
-I/usr/kerberos//include -I../../../src/include -I. -DHAVE_CONFIG_H
-DODBCINSTDIR='"/home/peter/pg-install/etc/postgresql"' -c -o info.o
info.c -MMD
In file included from info.c:29:
isql.h:27:41: warning: "ODBCVER" redefined
psqlodbc.h:37:1: warning: this is the location of the previous definition
info.c:2898:46: missing terminating " character
info.c:2816:24: unterminated #if
make: *** [info.o] Error 1

Try again.

Bruce Momjian writes:

> Applied. Thanks.
>
> > Here is patch to the ODBC driver to update the version to 2.5 and allow
> > all forms of foreign keys be exposed to SQLForeignKeys. This patch is in
> > addition to the ones I mailed yesterday (forget had I changed that as
> > well....)
> >
> > Michael Fork - CCNA - MCP - A+
> > Network Support - Toledo Internet Access - Toledo Ohio
> Content-Description:
>
> [ Attachment, skipping... ]
>
>
>

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Michael Fork <mfork(at)toledolink(dot)com>, pgsql-interfaces(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: Re: [PATCHES] ODBC Driver patch
Date: 2000-12-11 18:50:16
Message-ID: 200012111850.NAA15736@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg배트맨 토토SQL : pgsql-patches

> peter ~/pgsql/src/interfaces/odbc$ make
> gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations -fpic
> -I/usr/kerberos//include -I../../../src/include -I. -DHAVE_CONFIG_H
> -DODBCINSTDIR='"/home/peter/pg-install/etc/postgresql"' -c -o info.o
> info.c -MMD
> In file included from info.c:29:
> isql.h:27:41: warning: "ODBCVER" redefined
> psqlodbc.h:37:1: warning: this is the location of the previous definition
> info.c:2898:46: missing terminating " character
> info.c:2816:24: unterminated #if
> make: *** [info.o] Error 1
>
> Try again.

OK, I have fixed the info.c compile. I also used #ifndef to supress
warnings about the ODBCVER version being redefined. Seems we define
versions 200 and 250 in the source. No idea why, but it looks wrong to
me.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026


From: Michael Fork <mfork(at)toledolink(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-patches(at)postgresql(dot)org
Subject: Re: ODBC Driver patch
Date: 2000-12-11 21:14:30
Message-ID: Pine.BSI.4.21.0012111536120.17853-100000@glass.toledolink.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces pgsql-patches

Ok, I just checked the CVS logs and it appears that everything has been
fixed -- ODBCVER is now defined as 250, and the missing " was added.

Sorry about that....

Michael Fork - CCNA - MCP - A+
Network Support - Toledo Internet Access - Toledo Ohio

On Mon, 11 Dec 2000, Bruce Momjian wrote:

> > peter ~/pgsql/src/interfaces/odbc$ make
> > gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations -fpic
> > -I/usr/kerberos//include -I../../../src/include -I. -DHAVE_CONFIG_H
> > -DODBCINSTDIR='"/home/peter/pg-install/etc/postgresql"' -c -o info.o
> > info.c -MMD
> > In file included from info.c:29:
> > isql.h:27:41: warning: "ODBCVER" redefined
> > psqlodbc.h:37:1: warning: this is the location of the previous definition
> > info.c:2898:46: missing terminating " character
> > info.c:2816:24: unterminated #if
> > make: *** [info.o] Error 1
> >
> > Try again.
>
> OK, I have fixed the info.c compile. I also used #ifndef to supress
> warnings about the ODBCVER version being redefined. Seems we define
> versions 200 and 250 in the source. No idea why, but it looks wrong to
> me.
>
>
> --
> Bruce Momjian | http://candle.pha.pa.us
> pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
> + If your life is a hard drive, | 830 Blythe Avenue
> + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
>