From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Saxena, Shivam <shsaxena@teamdrg.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Cc: DB Development DBAs <DBDevelopmentDBAs@teamdrg.com>
Cc: Lee, Ming <milee@teamdrg.com>
Subject: Re: BUG: Session getting disconnected while executing a function to create materialised views in PostgreSQL 9.6
Date: Thu, 11 Aug 2016 11:24:04 -0400
Message-ID: <12511.1470929044@sss.pgh.pa.us> (raw)
In-Reply-To: <CAB7nPqRgfKk+kQ96E++02NtzEsa3p5PX16UGmx2tBb3Lw4kx-w@mail.gmail.com>
References: <97218716-480B-4527-B5CD-D08D798A0C7B@dresources.com>
<CAB7nPqRESWD8Ne7GNNEwt_0LmOBcCc4+4wLwPvaPQSmk2xxNZg@mail.gmail.com>
<CAB7nPqRgfKk+kQ96E++02NtzEsa3p5PX16UGmx2tBb3Lw4kx-w@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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. 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.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, michael.paquier@gmail.com, shsaxena@teamdrg.com, DBDevelopmentDBAs@teamdrg.com, milee@teamdrg.com
Subject: Re: BUG: Session getting disconnected while executing a function to create materialised views in PostgreSQL 9.6
In-Reply-To: <12511.1470929044@sss.pgh.pa.us>
References: <97218716-480B-4527-B5CD-D08D798A0C7B@dresources.com> <CAB7nPqRESWD8Ne7GNNEwt_0LmOBcCc4+4wLwPvaPQSmk2xxNZg@mail.gmail.com> <CAB7nPqRgfKk+kQ96E++02NtzEsa3p5PX16UGmx2tBb3Lw4kx-w@mail.gmail.com> <12511.1470929044@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox