change table to view problem - Mailing list pgsql-general

From Sim Zacks
Subject change table to view problem
Date
Msg-id ctndi9$169v$1@news.hub.org
Whole thread Raw
Responses Re: change table to view problem  (Richard Huxton <dev@archonet.com>)
List pgsql-general
I merged 2 tables into 1 table and created a view  for each of the tables so
as not to break existing applications. I renamed the old tables with the
_old suffix in case there was a problem so I could verify against the old
data.

The problem is that all the views and functions switched the name of the
table to the renamed table and do not use the new views I have created. Is
there a recommended way of updating all the views and functions that  use
the table to start using the view?

Thank You
Sim



pgsql-general by date:

Previous
From: "Sim Zacks"
Date:
Subject: Re: change table to view problem
Next
From: "Andrew L. Gould"
Date:
Subject: [OT] PostgreSQL and Namo's WebEditor