pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Simon Windsor <simon.windsor@cornfield.me.uk>
Cc: pgsql-general@postgresql.org
Subject: Re: Error XX000 After pg11 upgrade
Date: Thu, 15 Aug 2019 20:28:06 -0400
Message-ID: <8458.1565915286@sss.pgh.pa.us> (raw)
In-Reply-To: <1a413d27-523f-c09c-cda8-572ad0eb0cef@cornfield.me.uk>
References: <CADHu9spiU5O9vH2Avjsd4gfJ8DxvO0wOvj=eD=z104KPWyzVrg@mail.gmail.com>
	<29076.1565883118@sss.pgh.pa.us>
	<1a413d27-523f-c09c-cda8-572ad0eb0cef@cornfield.me.uk>

Simon Windsor <simon.windsor@cornfield.me.uk> writes:
> Since then, large bulk inserts of configuration changes are failing with 
> this Error, but adhoc and small changes are working ok.

Might it be that things work as long as the trigger is only tasked with
redirecting to the same child table (or limited set of child tables)
within a particular insertion command?

I'm wondering if this could be related to bug #15913 --- which I just
fixed today, so maybe I just have it on the brain too much.  The
manifestation doesn't look quite the same, but given the way your
trigger is written, something about NEW.* changing type from one
call to the next might have something to do with it.

I also wonder how often you create/delete child tables.

			regards, tom lane





view thread (6+ messages)  latest in thread

Message-ID: <8458.1565915286@sss.pgh.pa.us>
Permalink:  ../8458.1565915286@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8458.1565915286@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-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, simon.windsor@cornfield.me.uk
  Subject: Re: Error XX000 After pg11 upgrade
  In-Reply-To: <8458.1565915286@sss.pgh.pa.us>
  References: <CADHu9spiU5O9vH2Avjsd4gfJ8DxvO0wOvj=eD=z104KPWyzVrg@mail.gmail.com> <29076.1565883118@sss.pgh.pa.us> <1a413d27-523f-c09c-cda8-572ad0eb0cef@cornfield.me.uk> <8458.1565915286@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