From: Emi Lu <emilu@encs.concordia.ca>
To: PostgreSQL SQL List <pgsql-sql@postgresql.org>
Subject: Allow column type to change without worrying about view dependencies
Date: Fri, 22 May 2009 10:55:09 -0400
Message-ID: <4A16BCCD.1020508@encs.concordia.ca> (raw)
Good morning,
When there are lots of views and complicated dependencies, it is not
easy to alter column from varchar(a) to varchar(b).
Is it possible when defining a view, adding cascade or some other key
word(s) to allow column type change?
When column1 is changed, all related views' column type is changed as well.
Thanks,
---
Lu Ying
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: Allow column type to change without worrying about view dependencies
In-Reply-To: <4A16BCCD.1020508@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox