From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Ludek Finstrle <ludek.finstrle@pzkagis.cz>
Cc: pgsql-odbc@postgresql.org
Subject: Re: schema and win1250 support + misc
Date: Fri, 9 Apr 2004 16:46:09 -0400 (EDT)
Message-ID: <200404092046.i39Kk9H06045@candle.pha.pa.us> (raw)
In-Reply-To: <20040109151444.GA12471@soptik.pzkagis.cz>
Ludek Finstrle wrote:
> Hello,
>
> I need schema support in odbc driver (it means change schema when
> connecting) more user friendly. So I attach patch for US only.
>
> Second patch contains support for win1250 encoding and
> one (I think) bug fix. It's in pgtypes.c in getCharColumnSize.
> This function call SC_get_Curres which can return NULL and
> getCharColumnSize doesn't handle it.
Here are our comments on the patch:
---------------------------------------------------------------------------
Patch 1 adds a preselected scheme name to the list of connection/DSN
options. Personally I think this is unecessary because there is already
an 'extra settings' option in which the user can include statements such
as 'set search_path to' if required. The list of options for psqlodbc is
already huge, and in the long term I think we should be looking to
remove options rather than add them (things like KSQO and GEQO can be
configured by the app using SET, or by the DBA if really required)!
Patch 2 adds WIN1250 charset support, and fixes a bug in pgtypes.c. The
first part has been applied, the second is obsolete.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
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: pgman@candle.pha.pa.us, ludek.finstrle@pzkagis.cz
Subject: Re: schema and win1250 support + misc
In-Reply-To: <200404092046.i39Kk9H06045@candle.pha.pa.us>
References: <20040109151444.GA12471@soptik.pzkagis.cz> <200404092046.i39Kk9H06045@candle.pha.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