| From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
|---|---|
| To: | "Saxena, Shivam" <shsaxena(at)teamdrg(dot)com> |
| Cc: | "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:09:01 |
| Message-ID: | CAB7nPqRgfKk+kQ96E++02NtzEsa3p5PX16UGmx2tBb3Lw4kx-w@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
On Thu, Aug 11, 2016 at 9:10 PM, Michael Paquier
<michael(dot)paquier(at)gmail(dot)com> wrote:
> I'll produce a patch in the worst case by tomorrow morning my time.
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.
--
Michael
| Attachment | Content-Type | Size |
|---|---|---|
| matview-func-fix.patch | application/x-download | 2.2 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew Gierth | 2016-08-11 13:21:55 | Re: BUG: Session getting disconnected while executing a function to create materialised views in PostgreSQL 9.6 |
| Previous Message | Michael Paquier | 2016-08-11 12:10:36 | Re: BUG: Session getting disconnected while executing a function to create materialised views in PostgreSQL 9.6 |