Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UILGc-0003rU-SF for pgsql-odbc@arkaria.postgresql.org; Wed, 20 Mar 2013 15:49:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UILGc-0007oQ-9W for pgsql-odbc@arkaria.postgresql.org; Wed, 20 Mar 2013 15:49:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UILGb-0007o5-Il for pgsql-odbc@postgresql.org; Wed, 20 Mar 2013 15:49:29 +0000 Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UILGU-00076J-F4 for pgsql-odbc@postgresql.org; Wed, 20 Mar 2013 15:49:29 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UILGS-0008Da-66 for pgsql-odbc@postgresql.org; Wed, 20 Mar 2013 08:49:20 -0700 Date: Wed, 20 Mar 2013 08:49:20 -0700 (PDT) From: BGoebel To: pgsql-odbc@postgresql.org Message-ID: <1363794560171-5749048.post@n5.nabble.com> Subject: 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 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. Has someone found a another workaround, idea, hint preventing a reconnect? regards, BGoebel -- View this message in context: http://postgresql.1045698.n5.nabble.com/Issue-with-ALTER-Table-tp5749048.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