pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
psqlODBC 08.01.0100 Released
3+ messages / 2 participants
[nested] [flat]

* psqlODBC 08.01.0100 Released
@ 2005-11-06 23:23  Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 1 reply; 3+ messages in thread

From: Dave Page @ 2005-11-06 23:23 UTC (permalink / raw)
  To: pgsql-odbc; pgsql-announce@postgresql.org

After a long development period, I'm pleased to announce the release of
version 08.01.0100 of psqlODBC, the PostgreSQL ODBC Driver.

This release represents a major change to the driver over previous versions;
in particular, the network code has been replaced with the PostgreSQL libpq
library. This allows us to more easily take advantage of updates and new
features that might be introduced to the PostgreSQL wire protocol, and also
allowed us to upgrade straight away to the version 3 protocol which was
previously unsupported. We were also able to add SSL support, as well as
Kerberos authentication support.



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

* Re: psqlODBC 08.01.0100 Released
@ 2005-11-09 20:28  Peter Eisentraut <peter_e@gmx.net>
  parent: Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 1 reply; 3+ messages in thread

From: Peter Eisentraut @ 2005-11-09 20:28 UTC (permalink / raw)
  To: pgsql-odbc; +Cc: Dave Page <dpage@vale-housing.co.uk>

Dave Page wrote:
> From this release, two versions of the driver are provided for
> Windows, 'PostgreSQL ANSI' which supports single and multibyte
> applications through the ANSI ODBC API, and 'PostgreSQL Unicode'
> which provides Unicode support through the Unicode ODBC API. On Unix
> systems, the driver type may be selected via a configure option.

With my packager hat on, I'm puzzled by this.  I am now supposed to 
produce two shared libraries?  I thought the idea was to have both sets 
of functions in one binary and let the driver manager or application 
program figure out which to call.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



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

* Re: psqlODBC 08.01.0100 Released
@ 2005-11-09 21:06  Dave Page <dpage@vale-housing.co.uk>
  parent: Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 0 replies; 3+ messages in thread

From: Dave Page @ 2005-11-09 21:06 UTC (permalink / raw)
  To: Peter Eisentraut <peter_e@gmx.net>; pgsql-odbc




On 9/11/05 8:28 pm, "Peter Eisentraut" <peter_e@gmx.net> wrote:

> Dave Page wrote:
>> From this release, two versions of the driver are provided for
>> Windows, 'PostgreSQL ANSI' which supports single and multibyte
>> applications through the ANSI ODBC API, and 'PostgreSQL Unicode'
>> which provides Unicode support through the Unicode ODBC API. On Unix
>> systems, the driver type may be selected via a configure option.
> 
> With my packager hat on, I'm puzzled by this.  I am now supposed to
> produce two shared libraries?  I thought the idea was to have both sets
> of functions in one binary and let the driver manager or application
> program figure out which to call.

This was discussed in depth a few months back. The Unicode driver will only
work with Unicode data or non-unicode data that maps directly into the first
unicode page (or whatever the correct term is). Non-ASCII charsets don't
work correctly with the Unicode driver as a result.

Drivers such as the Microsoft SQL Server driver handle this by having an
option to map strings on the fly from the client encoding into unicode. It
has to be done this way because if the Unicode functions exist, the driver
manager will *always* map all function calls to those instead of the ANSI
versions.

To get around this without providing our own remapping of non-unicode data,
the driver was reverted back to the way it was in the 07.xx series - ie.
Having a Unicode and ANSI version on Windows. On Unix, the
--enable/disable-unicode option that you added some time back was
reinstated.

The net result of this change was that a whole heap of complaints from
people using latin* as their client encoding went away overnight.

I've made no secret of the fact that I know little of encoding issues
however, so if you have a better way to handle this then please speak up!

Regards, Dave 





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


end of thread, other threads:[~2005-11-09 21:06 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-11-06 23:23 psqlODBC 08.01.0100 Released Dave Page <dpage@vale-housing.co.uk>
2005-11-09 20:28 ` Peter Eisentraut <peter_e@gmx.net>
2005-11-09 21:06   ` Dave Page <dpage@vale-housing.co.uk>

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