Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UJ5Bo-0003fn-2c for pgsql-odbc@arkaria.postgresql.org; Fri, 22 Mar 2013 16:51:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UJ5Bn-0001cy-Et for pgsql-odbc@arkaria.postgresql.org; Fri, 22 Mar 2013 16:51:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UJ5Bm-0001c7-CM for pgsql-odbc@postgresql.org; Fri, 22 Mar 2013 16:51:34 +0000 Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UJ5Bj-00068D-75 for pgsql-odbc@postgresql.org; Fri, 22 Mar 2013 16:51:34 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UJ5Bh-0004eQ-Cp for pgsql-odbc@postgresql.org; Fri, 22 Mar 2013 09:51:29 -0700 Date: Fri, 22 Mar 2013 09:51:29 -0700 (PDT) From: BGoebel To: pgsql-odbc@postgresql.org Message-ID: <1363971089389-5749301.post@n5.nabble.com> In-Reply-To: <514C2C75.20302@vmware.com> References: <1363794560171-5749048.post@n5.nabble.com> <514C2C75.20302@vmware.com> Subject: Re: Issue with ALTER Table. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.8 (/) 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 Our test bench had an error. psqlodbc30a.dll 9.1.2.1 is delivering the expected results. Hiroshi wrote he had no time for check this issue, and so i never checked our code. I am really sorry for that. BGoebel Heikki Linnakangas-6 wrote > On 20.03.2013 17:49, BGoebel wrote: >> The Catalog Schema seems not to be actualized when using ALTER Table. >> >> I had reported a problem with adding NEW tables, which was corrected by >> Hiroshi >> >> http://postgresql.1045698.n5.nabble.com/SQLDescribeCol-schema-cache-not-being-updated-completely-tt4372956.html >> >> http://postgresql.1045698.n5.nabble.com/Error-Retrieving-Catalog-Info-tt4598955.html >> >> When "altering" a Datatype of column the problem still exists: >> Say, we have a column which is defined as varchar(40) >> Now we want to double the field length to varchar(80) >> >> ALTER TABLE customer >> ALTER COLUMN address TYPE varchar(80), >> >> When we retrieving the Catalog-Info the value of field length is 40 >> furthermore. >> >> After a new connect we get the correct values and only after that writing >> / >> reading to the altered field is working reliable. > > Can you provide a self-contained test case? That seems like the exact > same thing reported by Jan-Peter Seifelt, in the first thread that you > linked to, and that one was fixed. I can't reproduce it here, either. I > tested the attached test case, but it correctly prints the new size > after ALTER. > > - Heikki > > > -- > Sent via pgsql-odbc mailing list ( > pgsql-odbc@ > ) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-odbc > > > alter-test.c (1K) > <http://postgresql.1045698.n5.nabble.com/attachment/5749243/0/alter-test.c> > common.h (5K) > <http://postgresql.1045698.n5.nabble.com/attachment/5749243/1/common.h> -- View this message in context: http://postgresql.1045698.n5.nabble.com/Issue-with-ALTER-Table-tp5749048p5749301.html Sent from the PostgreSQL - odbc mailing list archive at Nabble.com. -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc