Re: Changing data type must recreate all views? - Mailing list pgsql-sql

From Peter Eisentraut
Subject Re: Changing data type must recreate all views?
Date
Msg-id Pine.LNX.4.56.0308190952400.4847@krusty.localdomain
Whole thread Raw
In response to Changing data type must recreate all views?  ("Yudie" <yudie@axiontech.com>)
List pgsql-sql
Yudie writes:

> I need to change column data type from integer to float8
> That mean to droping table and recreate a new one and can lost the original
> object id.
> Do i need to recreate all views and triggers that relate to that table?
> if that so, is there anyway to do that without touching views and triggers?

Not really.

Perhaps it will be easier if you do a dump of the affected objects, edit
the dump file, and reload.

-- 
Peter Eisentraut   peter_e@gmx.net


pgsql-sql by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Inheritance or no inheritance, there is a question
Next
From: Marco Vezzoli
Date:
Subject: postgres 7.1.3: why does the query plan ignore indexes?