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

From: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
To: "'Hiroshi Inoue'" <Inoue(at)tpf(dot)co(dot)jp>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-interfaces <pgsql-interfaces(at)postgreSQL(dot)org>, pgsql-odbc(at)postgresql(dot)org
Subject: RE: [ODBC] RE: [PATCHES] ODBC Patch for OJs/Large Querys & Rows
Date: 2001-01-25 16:53:11
Message-ID: 8568FC767B4AD311AC33006097BCD3D61A2926@woody.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-odbc

> -----Original Message-----
> From: Hiroshi Inoue [mailto:Inoue(at)tpf(dot)co(dot)jp]
> Sent: 25 January 2001 16:28
> To: Dave Page; Bruce Momjian
> Cc: pgsql-interfaces; pgsql-odbc(at)postgresql(dot)org
> Subject: RE: [ODBC] RE: [PATCHES] ODBC Patch for OJs/Large
> Querys & Rows
>
>
> > -----Original Message-----
> > From: Bruce Momjian [mailto:pgman(at)candle(dot)pha(dot)pa(dot)us]
> >
> > 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).

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

Regards, Dave.

Attachment Content-Type Size
odbc.diff application/octet-stream 9.4 KB

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter T Mount 2001-01-25 17:07:53 Re: Re: [INTERFACES] BIT type still not working
Previous Message Hiroshi Inoue 2001-01-25 16:28:29 RE: [ODBC] RE: [PATCHES] ODBC Patch for OJs/Large Querys & Rows

Browse pgsql-odbc by date

  From Date Subject
Next Message Adam Lang 2001-01-25 17:13:07 Re: RE: [PATCHES] ODBC Patch for OJs/Large Querys & Rows
Previous Message Hiroshi Inoue 2001-01-25 16:28:29 RE: [ODBC] RE: [PATCHES] ODBC Patch for OJs/Large Querys & Rows