| From: | Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk> |
|---|---|
| To: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
| Cc: | "Saxena\, Shivam" <shsaxena(at)teamdrg(dot)com>, "pgsql-bugs\(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>, DB Development DBAs <DBDevelopmentDBAs(at)teamdrg(dot)com>, "Lee\, Ming" <milee(at)teamdrg(dot)com> |
| Subject: | Re: BUG: Session getting disconnected while executing a function to create materialised views in PostgreSQL 9.6 |
| Date: | 2016-08-11 13:21:55 |
| Message-ID: | 87mvkjphoz.fsf@news-spur.riddles.org.uk |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
>>>>> "Michael" == Michael Paquier <michael(dot)paquier(at)gmail(dot)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)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2016-08-11 13:33:02 | Re: BUG: Session getting disconnected while executing a function to create materialised views in PostgreSQL 9.6 |
| Previous Message | Michael Paquier | 2016-08-11 13:09:01 | Re: BUG: Session getting disconnected while executing a function to create materialised views in PostgreSQL 9.6 |