pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ODBC Driver patch
5+ messages / 3 participants
[nested] [flat]

* ODBC Driver patch
@ 2000-12-06 23:42 Michael Fork <mfork@toledolink.com>
  2000-12-10 23:54 ` Re: [PATCHES] ODBC Driver patch Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 1 reply; 5+ messages in thread

From: Michael Fork @ 2000-12-06 23:42 UTC (permalink / raw)
  To: pgsql-interfaces; +Cc: pgsql-patches@postgresql.org

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

Attachments:

psqlodbc.h.diff (text/plain, 376B) download --- psqlodbc.new.h Wed Dec 6 18:42:07 2000 +++ psqlodbc.h Wed Dec 6 18:42:51 2000 @@ -34,8 +34,8 @@ typedef UInt4 Oid; /* Driver stuff */ -#define ODBCVER 0x0200 -#define DRIVER_ODBC_VER "02.00" +#define ODBCVER 0x0250 +#define DRIVER_ODBC_VER "02.50" #define DRIVERNAME "PostgreSQL ODBC" #define DBMS_NAME "PostgreSQL"
^ permalink raw reply [nested|flat] 5+ messages in thread

* Re: [PATCHES] ODBC Driver patch
  2000-12-06 23:42 ODBC Driver patch Michael Fork <mfork@toledolink.com>
@ 2000-12-10 23:54 ` Bruce Momjian <pgman@candle.pha.pa.us>
  2000-12-11 17:20   ` Re: [PATCHES] ODBC Driver patch Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 1 reply; 5+ messages in thread

From: Bruce Momjian @ 2000-12-10 23:54 UTC (permalink / raw)
  To: Michael Fork <mfork@toledolink.com>; +Cc: pgsql-interfaces; pgsql-patches@postgresql.org

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@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: [PATCHES] ODBC Driver patch
  2000-12-06 23:42 ODBC Driver patch Michael Fork <mfork@toledolink.com>
  2000-12-10 23:54 ` Re: [PATCHES] ODBC Driver patch Bruce Momjian <pgman@candle.pha.pa.us>
@ 2000-12-11 17:20   ` Peter Eisentraut <peter_e@gmx.net>
  2000-12-11 18:50     ` Re: [PATCHES] ODBC Driver patch Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 1 reply; 5+ messages in thread

From: Peter Eisentraut @ 2000-12-11 17:20 UTC (permalink / raw)
  To: Bruce Momjian <pgman@candle.pha.pa.us>; +Cc: Michael Fork <mfork@toledolink.com>; pgsql-interfaces; pgsql-patches@postgresql.org

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@gmx.net       http://yi.org/peter-e/




^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: [PATCHES] ODBC Driver patch
  2000-12-06 23:42 ODBC Driver patch Michael Fork <mfork@toledolink.com>
  2000-12-10 23:54 ` Re: [PATCHES] ODBC Driver patch Bruce Momjian <pgman@candle.pha.pa.us>
  2000-12-11 17:20   ` Re: [PATCHES] ODBC Driver patch Peter Eisentraut <peter_e@gmx.net>
@ 2000-12-11 18:50     ` Bruce Momjian <pgman@candle.pha.pa.us>
  2000-12-11 21:14       ` Re: ODBC Driver patch Michael Fork <mfork@toledolink.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Bruce Momjian @ 2000-12-11 18:50 UTC (permalink / raw)
  To: Peter Eisentraut <peter_e@gmx.net>; +Cc: Michael Fork <mfork@toledolink.com>; pgsql-interfaces; pgsql-patches@postgresql.org

> 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@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: ODBC Driver patch
  2000-12-06 23:42 ODBC Driver patch Michael Fork <mfork@toledolink.com>
  2000-12-10 23:54 ` Re: [PATCHES] ODBC Driver patch Bruce Momjian <pgman@candle.pha.pa.us>
  2000-12-11 17:20   ` Re: [PATCHES] ODBC Driver patch Peter Eisentraut <peter_e@gmx.net>
  2000-12-11 18:50     ` Re: [PATCHES] ODBC Driver patch Bruce Momjian <pgman@candle.pha.pa.us>
@ 2000-12-11 21:14       ` Michael Fork <mfork@toledolink.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Michael Fork @ 2000-12-11 21:14 UTC (permalink / raw)
  To: Bruce Momjian <pgman@candle.pha.pa.us>; +Cc: Peter Eisentraut <peter_e@gmx.net>; pgsql-patches@postgresql.org

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@candle.pha.pa.us               |  (610) 853-3000
>   +  If your life is a hard drive,     |  830 Blythe Avenue
>   +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
> 




^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2000-12-11 21:14 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-12-06 23:42 ODBC Driver patch Michael Fork <mfork@toledolink.com>
2000-12-10 23:54 ` Bruce Momjian <pgman@candle.pha.pa.us>
2000-12-11 17:20   ` Peter Eisentraut <peter_e@gmx.net>
2000-12-11 18:50     ` Bruce Momjian <pgman@candle.pha.pa.us>
2000-12-11 21:14       ` Michael Fork <mfork@toledolink.com>

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