change table to view problem

Поиск
Список
Период
Сортировка
От Sim Zacks
Тема change table to view problem
Дата
Msg-id ctndi9$169v$1@news.hub.org
обсуждение исходный текст
Ответы Re: change table to view problem  (Richard Huxton <dev@archonet.com>)
Список 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 по дате отправления:

Предыдущее
От: "Sim Zacks"
Дата:
Сообщение: Re: change table to view problem
Следующее
От: "Andrew L. Gould"
Дата:
Сообщение: [OT] PostgreSQL and Namo's WebEditor