From: BGoebel <b.goebel@prisma-computer.de>
To: pgsql-odbc@postgresql.org
Subject: Issue with ALTER Table.
Date: Wed, 20 Mar 2013 08:49:20 -0700 (PDT)
Message-ID: <1363794560171-5749048.post@n5.nabble.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
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-tt4...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
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: b.goebel@prisma-computer.de
Subject: Re: Issue with ALTER Table.
In-Reply-To: <1363794560171-5749048.post@n5.nabble.com>
References: <1363794560171-5749048.post@n5.nabble.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