pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: Ben Chobot <bench@silentmedia.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Subject: Re: pg_logical_slot_peek_changes crashes postgres when called from inside pl/pgsql
Date: Thu, 05 Oct 2017 21:16:26 -0400
Message-ID: <8218.1507252586@sss.pgh.pa.us> (raw)
In-Reply-To: <20171006005915.lyivbm6fplmbmon2@alap3.anarazel.de>
References: <73FBA179-C68C-4540-9473-71E865408B15@silentmedia.com>
	<CAB7nPqRZhE53NYVyOf5-WW6eoN9ZJhg6QeDDyfRfyZj4ESeQFA@mail.gmail.com>
	<8637.1507217920@sss.pgh.pa.us>
	<20171005211058.z5obk2c2e7zvauk6@alap3.anarazel.de>
	<32374.1507239819@sss.pgh.pa.us>
	<20171005230105.qv2yrtadbkbc5y5r@alap3.anarazel.de>
	<4563.1507246950@sss.pgh.pa.us>
	<20171006005915.lyivbm6fplmbmon2@alap3.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Andres Freund <andres@anarazel.de> writes:
> On 2017-10-05 19:42:30 -0400, Tom Lane wrote:
>> https://www.postgresql.org/message-id/26365.1162532453%40sss.pgh.pa.us

> Just ran this, got out-of-memory error, and then another out-of-memory
> error, ...  I wonder if we should exclude out_of_memory from OTHERS,
> like we do QUERY_CANCELED and ASSERT_FAILURE.

Nah; that presupposes that if a subquery runs out of memory then the
surrounding function is necessarily broken.  I don't buy that.

			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



view thread (19+ messages)  latest in thread

Message-ID: <8218.1507252586@sss.pgh.pa.us>
Permalink:  ../8218.1507252586@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8218.1507252586@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, andres@anarazel.de, michael.paquier@gmail.com, bench@silentmedia.com
  Subject: Re: pg_logical_slot_peek_changes crashes postgres when called from inside pl/pgsql
  In-Reply-To: <8218.1507252586@sss.pgh.pa.us>
  References: <73FBA179-C68C-4540-9473-71E865408B15@silentmedia.com> <CAB7nPqRZhE53NYVyOf5-WW6eoN9ZJhg6QeDDyfRfyZj4ESeQFA@mail.gmail.com> <8637.1507217920@sss.pgh.pa.us> <20171005211058.z5obk2c2e7zvauk6@alap3.anarazel.de> <32374.1507239819@sss.pgh.pa.us> <20171005230105.qv2yrtadbkbc5y5r@alap3.anarazel.de> <4563.1507246950@sss.pgh.pa.us> <20171006005915.lyivbm6fplmbmon2@alap3.anarazel.de> <8218.1507252586@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