Skip site navigation (1) Skip section navigation (2)

Re: RE: [PATCHES] ODBC Patch for OJs/Large Querys & Rows

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-odbc(at)postgresql(dot)org
Subject: Re: RE: [PATCHES] ODBC Patch for OJs/Large Querys & Rows
Date: 2001-01-25 23:45:30
Message-ID: 3A70BA9A.7CC60442@tpf.co.jp (view raw or flat)
Thread:
Lists: pgsql-interfacespgsql-odbc
Dave Page wrote:
>

[snip]
 
> > >
> > > We usually are more concerned about old libraries talking to new
> > > servers.  New libraries talking to old servers are not
> > needed as much.
> > >
> >
> > I strongly object.
> > Postgres ODBC driver has supported all the way back to version 6.2(
> > or 6.0 according to a person's opinion). Why could we easily break the
> > backward compatibility without any consensus ?
> 
> OK. Here's another (additional) patch. This gets the PostgreSQL version upon
> connection, and then uses it to determine what to return from SQLGetInfo for
> SQL_DBMS_VER, SQL_MAX_ROW_SIZE, SQL_MAX_STATEMENT_LEN, SQL_OJ_CAPABILITIES
> and SQL_OUTER_JOINS. This makes all my changes backward compatible. It also
> increments the revision number to 07.01.0001 and corrects the format of the
> version number which I previously mistyped as 7.1.0000 (as per ODBC
> requirements).
> 

Thanks.
I may be able to fix a large-object related change
using your pg_version(_number).

> NB: I've not tested this under *nix, only W2K.
> 

Unfortunately I know no one who could test both :-).

Regards,
Hiroshi Inoue

In response to

pgsql-odbc by date

Next:From: Hiroshi InoueDate: 2001-01-26 01:52:16
Subject: Re: [ODBC] Re: RE: [PATCHES] ODBC Patch for OJs/Large Querys & Rows
Previous:From: JosephDate: 2001-01-25 19:31:46
Subject: ODBC/Windows and Rules

pgsql-interfaces by date

Next:From: Hiroshi InoueDate: 2001-01-26 01:52:16
Subject: Re: [ODBC] Re: RE: [PATCHES] ODBC Patch for OJs/Large Querys & Rows
Previous:From: Gustavo Enrique RuizDate: 2001-01-25 18:39:39
Subject: ODBC

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group