Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WkwZ3-000877-PL for pgsql-odbc@arkaria.postgresql.org; Thu, 15 May 2014 14:23:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WkwZ3-0003ad-6t for pgsql-odbc@arkaria.postgresql.org; Thu, 15 May 2014 14:23:17 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WkwZ2-0003ZF-4Q for pgsql-odbc@postgresql.org; Thu, 15 May 2014 14:23:16 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WkwYy-0000m7-Qd for pgsql-odbc@postgresql.org; Thu, 15 May 2014 14:23:15 +0000 Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id BA5BF217D7 for ; Thu, 15 May 2014 10:10:04 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Thu, 15 May 2014 10:10:04 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; s=mesmtp; bh=Fv8pjOTA+C2c3FGPhivoym127RI=; b=KrQw7mJQX7d/4lnns9K6RvFPDjEq RirxdTqf+sK4qNSmhhUl+MHA7a6PpEiS3yFZ2kqrkeQHQndv1eYur/iHpu0Pm7C2 81rqGmE5CzKJ14fHTTsmq2yj27WjOvx6FVh5FCGaxvV535l9lEWD2BAimHJUVLAM CZjPBUo3V64hFkE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=Fv8pjOTA+C2c3FGPhivoym 127RI=; b=j6sFi1l5o+KbiYJxYPXKa3DO0r9q4izHO8EGlGoQls94CRL7LEQVCS rJJ6jIGaUrVszObJdE5FwUBnTAe5opG8cuyxZwRxocKwQqPCLO3aPHEc88UGnLAa Qpcoy+wcr42mCU8WoXltASZYs5DOXhTkMa97wz+OpYWqKCqNTxhrk= X-Sasl-enc: Tx7mBmuYWSY8gMtCcmaj5dkyXnS3cD4ZKrhY4C+/2Beu 1400163004 Received: from panda.site (unknown [65.102.186.57]) by mail.messagingengine.com (Postfix) with ESMTPA id B3B4CC007AC; Thu, 15 May 2014 10:10:03 -0400 (EDT) Message-ID: <5374CABB.60107@aklaver.com> Date: Thu, 15 May 2014 07:10:03 -0700 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Barry Bell , Hiroshi Saito , Michael Paquier , Hiroshi Inoue CC: Heikki Linnakangas , Anna Gershnik , "pgsql-odbc@postgresql.org" Subject: Re: psqlODBC text length with no records References: <152de38c9c2544b9b61f9a2f77e9aa3d@BY2PR08MB281.namprd08.prod.outlook.com> <5372B875.3010407@aklaver.com> <3fca930240554b80bc4174911fb49400@BY2PR08MB281.namprd08.prod.outlook.com> <53736874.2090905@aklaver.com> <53736E22.4090506@aklaver.com> <53737480.6070808@aklaver.com> <14cee66c2d5d444a8ec0c4c773f20d5b@BY2PR08MB281.namprd08.prod.outlook.com> <53737AAC.9060201@aklaver.com> <53738B4D.1030507@aklaver.com> <537392FE.70407@aklaver.com> <53739759.1040303@aklaver.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org 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