Re: Selecting a constant question - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: Selecting a constant question
Date
Msg-id 1181708970.6786.1.camel@hannu-laptop
Whole thread Raw
In response to Re: Selecting a constant question  ("Larry McGhaw" <lmcghaw@connx.com>)
Responses Re: Selecting a constant question  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-hackers
Ühel kenal päeval, T, 2007-06-12 kell 13:40, kirjutas Larry McGhaw:
> For what its worth .. Your statement about why we are the first people
> to mention this problem really got me thinking.  Anyone who would
> attempt to write an ODBC driver for Postgres would run into the exact
> same issue.   So I installed the official Postgres ODBC driver, and ran
> the identical query and here are my results:
> 
> I probably should have looked at this first .... There is a whole
> Postgres ODBC dialog dedicated to the very subject of this thread:
> Handling of "unknown" data sizes.   The pgodbc driver is configured to
> treat unknowns as varchar(255) by default,
> As shown by my example below.  This can be configured up or down as
> desired.

BTW, what is the reason you are writing your own ODBC driver ? 

What problems in the official one are you trying to solve ?

--------------
Hannu




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Selecting a constant question: A summary
Next
From: "Chuck McDevitt"
Date:
Subject: Re: Selecting a constant question: A summary