Re: BUG: Session getting disconnected while executing a function to create materialised views in PostgreSQL 9.6

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: BUG: Session getting disconnected while executing a function to create materialised views in PostgreSQL 9.6
Дата
Msg-id CAB7nPqRQ-ZZhmafGj0RBNZd0HFWo6owOUZGMa0JQU3YyniSbug@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG: Session getting disconnected while executing a function to create materialised views in PostgreSQL 9.6  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Fri, Aug 12, 2016 at 12:24 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Michael Paquier <michael.paquier@gmail.com> writes:
>> And attached is the patch. I arrived at the conclusion that the
>> assertion being broken here just needs to be relaxed a bit so as it
>> understands that this code path can be taken by a matview WITH NO
>> DATA. I have bundled a regression test as well. This should be
>> backpatched down to 9.3.
>
> Pushed.  The Assert was still a bit too strong: as you had it, it
> still crashed on CREATE TABLE AS ... WITH NO DATA.

Thanks, I missed this point. Hacking at night is never good..
--
Michael

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #14287: psql_history gets wiped out
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: BUG #14287: psql_history gets wiped out