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

From Andrew Gierth
Subject Re: BUG: Session getting disconnected while executing a function to create materialised views in PostgreSQL 9.6
Date
Msg-id 87mvkjphoz.fsf@news-spur.riddles.org.uk
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>)
Responses Re: BUG: Session getting disconnected while executing a function to create materialised views in PostgreSQL 9.6
List pgsql-bugs
>>>>> "Michael" == Michael Paquier <michael.paquier@gmail.com> writes:

 >> I'll produce a patch in the worst case by tomorrow morning my time.

 Michael> And attached is the patch. I arrived at the conclusion that
 Michael> the assertion being broken here just needs to be relaxed a bit
 Michael> so as it understands that this code path can be taken by a
 Michael> matview WITH NO DATA. I have bundled a regression test as
 Michael> well. This should be backpatched down to 9.3.

Might it make sense in the regression test to check that ROW_COUNT ends
up correctly set?

--
Andrew (irc:RhodiumToad)

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: Michael Paquier
Date:
Subject: Re: BUG: Session getting disconnected while executing a function to create materialised views in PostgreSQL 9.6