| From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| 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 23:09:14 |
| Message-ID: | CAB7nPqRQ-ZZhmafGj0RBNZd0HFWo6owOUZGMa0JQU3YyniSbug@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
On Fri, Aug 12, 2016 at 12:24 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Michael Paquier <michael(dot)paquier(at)gmail(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2016-08-12 12:37:13 | Re: BUG #14287: psql_history gets wiped out |
| Previous Message | Tom Lane | 2016-08-11 21:15:30 | Re: BUG #14287: psql_history gets wiped out |