pg_dump query about views

Поиск
Список
Период
Сортировка
От Colin Price (EML)
Тема pg_dump query about views
Дата
Msg-id 5F052F2A01FBD11184F00008C7A4A800019432BC@eukbant101.ericsson.se
обсуждение исходный текст
Список pgsql-general
Again, apologies if this is a duplication from the past but I can't it in
pgsql-questions :

-------------------------------
In the reference section, it states there are problems with dumping views
and rules. A pg_dumpall/pg_dump stores the view as a table with a rule.
Therefore, when loaded back in, the view is now a table and not loaded into
pg_view.

To change this, do I create a simple script to remove the 'CREATE TABLE' and
transform the 'CREATE RULE' into a create view statement>
---------------------------------

As always, thank you in advance,
Colin PRICE.

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

Предыдущее
От: Oleg Broytmann
Дата:
Сообщение: Re: [GENERAL] Problems compiling
Следующее
От: Gilles Darold
Дата:
Сообщение: Re: [GENERAL] Problems compiling