pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
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 14:21:55 +0100
Message-ID: <87mvkjphoz.fsf@news-spur.riddles.org.uk> (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" == 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)


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (8+ messages)  latest in thread

Message-ID: <87mvkjphoz.fsf@news-spur.riddles.org.uk>
Permalink:  ../87mvkjphoz.fsf@news-spur.riddles.org.uk/
Also on:    postgresql.org/message-id/87mvkjphoz.fsf@news-spur.riddles.org.uk

 · 

reply

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: andrew@tao11.riddles.org.uk, 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: <87mvkjphoz.fsf@news-spur.riddles.org.uk>
  References: <97218716-480B-4527-B5CD-D08D798A0C7B@dresources.com> <CAB7nPqRESWD8Ne7GNNEwt_0LmOBcCc4+4wLwPvaPQSmk2xxNZg@mail.gmail.com> <CAB7nPqRgfKk+kQ96E++02NtzEsa3p5PX16UGmx2tBb3Lw4kx-w@mail.gmail.com> <87mvkjphoz.fsf@news-spur.riddles.org.uk>

* 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