pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Dave Page <dpage@vale-housing.co.uk>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: pgsql-odbc@postgresql.org
Subject: Re: RE: [PATCHES] ODBC Patch for OJs/Large Querys & Rows
Date: Fri, 26 Jan 2001 08:45:30 +0900
Message-ID: <3A70BA9A.7CC60442@tpf.co.jp> (raw)
References: <8568FC767B4AD311AC33006097BCD3D61A2926@woody.vale-housing.co.uk>

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



view thread (7+ messages)  latest in thread

Message-ID: <3A70BA9A.7CC60442@tpf.co.jp>
Permalink:  ../3A70BA9A.7CC60442@tpf.co.jp/
Also on:    postgresql.org/message-id/3A70BA9A.7CC60442@tpf.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: Inoue@tpf.co.jp, dpage@vale-housing.co.uk, pgman@candle.pha.pa.us, pgsql-odbc@postgresql.org
  Subject: Re: RE: [PATCHES] ODBC Patch for OJs/Large Querys & Rows
  In-Reply-To: <3A70BA9A.7CC60442@tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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