From: Peter Eisentraut <peter_e@gmx.net>
To: Yudie <yudie@axiontech.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Changing data type must recreate all views?
Date: Tue, 19 Aug 2003 09:53:34 +0200 (CEST)
Message-ID: <Pine.LNX.4.56.0308190952400.4847@krusty.localdomain> (raw)
In-Reply-To: <000b01c361bb$1fcc57d0$8401a8c0@yudie>
References: <001001c36183$4f636570$0403a8c0@fejleszt4>
<200308130754.32211.jgardner@jonathangardner.net>
<003e01c361b1$37d02780$0403a8c0@fejleszt4>
<200308130920.07619.jgardner@jonathangardner.net>
<000b01c361bb$1fcc57d0$8401a8c0@yudie>
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
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-sql@postgresql.org
Cc: peter_e@gmx.net, yudie@axiontech.com
Subject: Re: Changing data type must recreate all views?
In-Reply-To: <Pine.LNX.4.56.0308190952400.4847@krusty.localdomain>
References: <001001c36183$4f636570$0403a8c0@fejleszt4> <200308130754.32211.jgardner@jonathangardner.net> <003e01c361b1$37d02780$0403a8c0@fejleszt4> <200308130920.07619.jgardner@jonathangardner.net> <000b01c361bb$1fcc57d0$8401a8c0@yudie> <Pine.LNX.4.56.0308190952400.4847@krusty.localdomain>
* 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