Re: BUG #6041: Unlogged table was created bad in slave node

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #6041: Unlogged table was created bad in slave node
Дата
Msg-id 13021.1307457450@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #6041: Unlogged table was created bad in slave node  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-bugs
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Excerpts from Robert Haas's message of mar jun 07 08:16:01 -0400 2011:
>> Probably.  I guess the question is whether we want this to fail in (a)
>> the parser, (b) the planner, or (c) the executor.

> Really?  I thought it was the job of the parse analysis phase to figure
> out if table and column names are valid or not, and such.  If that's the
> case, wouldn't it make sense to disallow usage of a table that doesn't
> "exist" in a certain sense?

If you hope ever to support the proposed UNLOGGED-to-LOGGED or vice
versa table state changes, you don't want to be testing this in the
parser.  It has to be done at plan or execute time.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: BUG #6050: Dump and restore of view after a schema change: can't restore the view
Следующее
От: Robert Haas
Дата:
Сообщение: Re: BUG #6050: Dump and restore of view after a schema change: can't restore the view