agora inbox for pgsql-sql@postgresql.org
help / color / mirror / Atom feedFrom: Emi Lu <emilu@encs.concordia.ca>
To: pgsql-sql@postgresql.org
Subject: Alter column with views depended on it without drop views
Date: Tue, 18 Mar 2014 13:41:07 -0400
Message-ID: <53288533.4010805@encs.concordia.ca> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>
Hello list,
Is there a way to change a table column from varchar(n) to varchar with
views depended on it.
The problem is that I do not want to drop and re-create all views
dependencies. I am looking for a way/command that can change the column
type and all views will be auto updated as well.
Thanks a lot!
Emi
--
PostgreSQL 8.3.18 on x86_64-unknown-linux-gnu
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
Message-ID: <53288533.4010805@encs.concordia.ca>
Permalink: ../53288533.4010805@encs.concordia.ca/
Also on: postgresql.org/message-id/53288533.4010805@encs.concordia.ca
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: emilu@encs.concordia.ca
Subject: Re: Alter column with views depended on it without drop views
In-Reply-To: <53288533.4010805@encs.concordia.ca>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox