Re: BUG #13870: couldn't restore dump with mat view

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #13870: couldn't restore dump with mat view
Дата
Msg-id 2462.1452909497@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #13870: couldn't restore dump with mat view  (kardash.a.v@yandex.ru)
Ответы Re: BUG #13870: couldn't restore dump with mat view  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-bugs
kardash.a.v@yandex.ru writes:
> Try to feed sql-commands below, then do dump and you will see errors while
> restore!

Well, this example doesn't work as-is because the command order is already
wrong.  But the issue is that CREATE MATERIALIZED VIEW ... WITH NO DATA
tries to plan and execute the query, not just store it, which entirely
defeats pg_dump's attempt to avoid hidden dependencies.  We need a less
chintzy solution to handling this variant of CREATE MATERIALIZED VIEW.

(I seem to recall complaining about this before.)

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #13871: Format '%2f' invalid or incompatible with argument
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #13870: couldn't restore dump with mat view