pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: obouda@email.cz
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-general@lists.postgresql.org, "Karsten Hilbert" <Karsten.Hilbert@gmx.net>
Subject: Re: backend crash on DELETE, reproducible locally
Date: Sat, 03 Nov 2018 15:38:14 -0400
Message-ID: <23468.1541273894@sss.pgh.pa.us> (raw)
In-Reply-To: <4kp.XAMr.3k5V4ORoB1t.1RtVIt@seznam.cz>
References: <20181101160007.GJ2954@hermes.hilbert.loc>
	<20181101152723.zq2dtcgntmcmr4br@alvherre.pgsql>
	<18072.1541087036@sss.pgh.pa.us>
	<32192.1541217418@sss.pgh.pa.us>
	<4kp.XAMr.3k5V4ORoB1t.1RtVIt@seznam.cz>

<obouda@email.cz> writes:
> we reached the exactly same problem after upgrading to PostgreSQL 11 - the
> server crashed on a DELETE statement with a trigger. We also observed an
> AFTER DELETE trigger receiving NULL values in OLD. Now I see the problem
> seems to be solved (theoretically). Unfortunately, we are not able to build
> the server with the patch, so we cannot confirm that. However, when we just
> copied the database (within the same server), the same DELETE executed on 
> the copy with no problems.

Yeah, dump/reload would make the problem go away.

> I would like to ask, however: could the same problem arise from an UPDATE
> statement (also on a table with an AFTER trigger), or would that be another
> bug (technical details below)?

Same bug.

			regards, tom lane




view thread (38+ messages)  latest in thread

Message-ID: <23468.1541273894@sss.pgh.pa.us>
Permalink:  ../23468.1541273894@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23468.1541273894@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 using the --to and --cc options:
  reply via email

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, obouda@email.cz, alvherre@2ndquadrant.com, Karsten.Hilbert@gmx.net
  Subject: Re: backend crash on DELETE, reproducible locally
  In-Reply-To: <23468.1541273894@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