pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Barry Bell <Barry.Bell@hartehanks.com>
To: Hiroshi Saito <hiroshi@winpg.jp>
To: Michael Paquier <michael.paquier@gmail.com>
To: Hiroshi Inoue <inoue@tpf.co.jp>
Cc: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: Anna Gershnik <agershnik@tableausoftware.com>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: psqlODBC text length with no records
Date: Thu, 15 May 2014 07:10:03 -0700
Message-ID: <5374CABB.60107@aklaver.com> (raw)
In-Reply-To: <ce57f43f044546289f61dfc2bab31645@BY2PR08MB281.namprd08.prod.outlook.com>
References: <152de38c9c2544b9b61f9a2f77e9aa3d@BY2PR08MB281.namprd08.prod.outlook.com>
	<5372B875.3010407@aklaver.com>
	<3fca930240554b80bc4174911fb49400@BY2PR08MB281.namprd08.prod.outlook.com>
	<53736874.2090905@aklaver.com>
	<b3d4a6df087c4f238679fd06bfc7493c@BY2PR08MB281.namprd08.prod.outlook.com>
	<53736E22.4090506@aklaver.com>
	<b69daf8c28f741a3ae1206b160aa4a7d@BY2PR08MB281.namprd08.prod.outlook.com>
	<53737480.6070808@aklaver.com>
	<14cee66c2d5d444a8ec0c4c773f20d5b@BY2PR08MB281.namprd08.prod.outlook.com>
	<53737AAC.9060201@aklaver.com>
	<dbd79918ac9d472da1995a053f1e750e@BY2PR08MB281.namprd08.prod.outlook.com>
	<53738B4D.1030507@aklaver.com>
	<ddb764a5697b48d494729ea582ceb163@BY2PR08MB281.namprd08.prod.outlook.com>
	<537392FE.70407@aklaver.com>
	<cf37441632de482d86f3851926c2a59b@BY2PR08MB281.namprd08.prod.outlook.com>
	<53739759.1040303@aklaver.com>
	<ce57f43f044546289f61dfc2bab31645@BY2PR08MB281.namprd08.prod.outlook.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

On 05/15/2014 05:30 AM, Barry Bell wrote:
> Parse statement(C0 in the connection string) has no effect on this.
>
>> With theB0(Max varchar)=254 setting, Postgres for lengths=0 or null returns a "Memo"
>>     In vfp, when displayed to the user in a grid, "Memo" is shown in
>> the field instead of the value
>
> Any other settings that may help?

I would say not, mainly because I suspect that since changing settings 
has not changed anything, this is not a driver issue. There is the 
possibility that the driver and out and out bug, but lack of any other 
reports would seem to indicate otherwise. Right now what we know is that 
you push SQL on one end and you get a change in a GUI widget on the 
other. Testing has shown Postgres is consistent in what it returns from 
initcap (which is the function at issue). Tweaking the psql ODBC has 
shown no effect. The data is then taken up by a GUI which exhibits 
different behavior depending on the SQL output. What we have not seen so 
far is the actual output from the ODBC driver before VFP gets it, in 
order to nail down where the type changes.

So have had a chance to run with ODBC logging enabled to capture the 
driver output?

> --
> Adrian Klaver
> adrian.klaver@aklaver.com
>


-- 
Adrian Klaver
adrian.klaver@aklaver.com


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (23+ messages)

Message-ID: <5374CABB.60107@aklaver.com>
Permalink:  ../5374CABB.60107@aklaver.com/
Also on:    postgresql.org/message-id/5374CABB.60107@aklaver.com

 · 

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: adrian.klaver@aklaver.com, Barry.Bell@hartehanks.com, hiroshi@winpg.jp, michael.paquier@gmail.com, inoue@tpf.co.jp, hlinnakangas@vmware.com, agershnik@tableausoftware.com
  Subject: Re: psqlODBC text length with no records
  In-Reply-To: <5374CABB.60107@aklaver.com>
  References: <152de38c9c2544b9b61f9a2f77e9aa3d@BY2PR08MB281.namprd08.prod.outlook.com> <5372B875.3010407@aklaver.com> <3fca930240554b80bc4174911fb49400@BY2PR08MB281.namprd08.prod.outlook.com> <53736874.2090905@aklaver.com> <b3d4a6df087c4f238679fd06bfc7493c@BY2PR08MB281.namprd08.prod.outlook.com> <53736E22.4090506@aklaver.com> <b69daf8c28f741a3ae1206b160aa4a7d@BY2PR08MB281.namprd08.prod.outlook.com> <53737480.6070808@aklaver.com> <14cee66c2d5d444a8ec0c4c773f20d5b@BY2PR08MB281.namprd08.prod.outlook.com> <53737AAC.9060201@aklaver.com> <dbd79918ac9d472da1995a053f1e750e@BY2PR08MB281.namprd08.prod.outlook.com> <53738B4D.1030507@aklaver.com> <ddb764a5697b48d494729ea582ceb163@BY2PR08MB281.namprd08.prod.outlook.com> <537392FE.70407@aklaver.com> <cf37441632de482d86f3851926c2a59b@BY2PR08MB281.namprd08.prod.outlook.com> <53739759.1040303@aklaver.com> <ce57f43f044546289f61dfc2bab31645@BY2PR08MB281.namprd08.prod.outlook.com> <5374CABB.60107@aklaver.com>

* 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