object dependency workaround

Поиск
Список
Период
Сортировка
От Little, Douglas
Тема object dependency workaround
Дата
Msg-id A434C531E37AD442815608A769550D8059072B87DA@EGEXCMB01.oww.root.lcl
обсуждение исходный текст
Список pgsql-general

Hello,

We’re migrating to Greenplum, and in our currently portfolio we base everything on views.

In our prior system, we could alter tables and then refresh the views, but in PG/greenplum most alters are blocked because of the dependent objects.

 

I understand that I can walk the pg_depends table to see the linkages, but what I really want to know

Is there a way to change the system behavior so that  ALTERs are allowed, perhaps invalidating dependent objects

 

Short of this, is there a recommended framework/functions for spooling off the dependent objects, performing the alter and then recreating all of the dependent objects?

 

Thanks  in advance.

Doug Little

Sr. Data Warehouse Architect | Enterprise Data Management | Orbitz Worldwide

Douglas.Little@orbitz.com

   orbitz.com | ebookers.com | hotelclub.com | cheaptickets.com | ratestogo.com | asiahotels.com 

 

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Postgres won't start. Nothing in the log.
Следующее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: Postgres won't start. Nothing in the log.