pg_dump and restore - views

Поиск
Список
Период
Сортировка
От Wang, Marcus
Тема pg_dump and restore - views
Дата
Msg-id A0615F86CE3CBB47815DAB28CC6C651BFBF0AC@WSMSG2151V.srv.dir.telstra.com
обсуждение исходный текст
Ответы Re: pg_dump and restore - views
Список pgsql-novice

Hi all,
We've got postgresql 7.4 and a few views. I'm using pg_dump to backup the database and everything is ok. Recently, we added 5 new views - but when I restore the dump with psql, out of 5 new views, only 3 is recreated, 2 are missing. But when I check the dump file - those views are in the dump, but somehow they are not recreated. While the database is being restored - I've got error messages for relattioni "view_name" does not exist.

I even tried with pg_dumpall and still got the same result - any ideas to troubleshoot?

Thanks

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

Предыдущее
От: Michael Talbot-Wilson
Дата:
Сообщение: Re: Defining the same relation in another database
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump and restore - views