Re: BUG: Session getting disconnected while executing a function to create materialised views in PostgreSQL 9.6 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG: Session getting disconnected while executing a function to create materialised views in PostgreSQL 9.6
Date
Msg-id 29558.1470924284@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG: Session getting disconnected while executing a function to create materialised views in PostgreSQL 9.6  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-bugs
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.

Man, that looks familiar.  Didn't we fix a similar oversight somewhere
else, not long ago?  Wonder if there are more.  But a quick grep for
if_not_exists doesn't find anything, so I'm not quite sure what I'm
half-remembering ...

            regards, tom lane

pgsql-bugs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: BUG: Session getting disconnected while executing a function to create materialised views in PostgreSQL 9.6
Next
From: Tom Lane
Date:
Subject: Re: BUG: Session getting disconnected while executing a function to create materialised views in PostgreSQL 9.6