pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dave Page <dpage@vale-housing.co.uk>
Cc: Ludek Finstrle <luf@pzkagis.cz>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Odbcapi30.c - 64 bit compiler warning cleanup
Date: Fri, 27 Jan 2006 09:45:28 -0500
Message-ID: <1974.1138373128@sss.pgh.pa.us> (raw)
In-Reply-To: <E7F85A1B5FF8D44C8A1AF6885BC9A0E40103DBE7@ratbert.vale-housing.co.uk>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E40103DBE7@ratbert.vale-housing.co.uk>

"Dave Page" <dpage@vale-housing.co.uk> writes:
>> From: Tom Lane [mailto:tgl@sss.pgh.pa.us] 
>> The problem with this is that it creates an ABI breakage.

> Is that actually a problem given that apps should link to the driver
> manager (which can dynamically load any version of any driver), not
> directly to the driver itself?

Hm, good point.  So the question then becomes whether the driver manager
is expecting this parameter to be int-sized or pointer-sized.

I took a quick look at the unixODBC sources (2.0.4 which is what I have
handy, I know it's a bit old) and got completely confused: I see the
parameter declared as SQLUINTEGER in some places and UDWORD in others.
Anyone know that code base well enough to be certain which place is
definitive?

			regards, tom lane



view thread (26+ messages)  latest in thread

Message-ID: <1974.1138373128@sss.pgh.pa.us>
Permalink:  ../1974.1138373128@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1974.1138373128@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dpage@vale-housing.co.uk, luf@pzkagis.cz
  Subject: Re: Odbcapi30.c - 64 bit compiler warning cleanup
  In-Reply-To: <1974.1138373128@sss.pgh.pa.us>
  References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E40103DBE7@ratbert.vale-housing.co.uk> <1974.1138373128@sss.pgh.pa.us>

* 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