pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Julien Rouhaud <rjuju123@gmail.com>
Cc: Paul Ramsey <pramsey@cleverelephant.ca>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: fuzk <fuzk80_76@163.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: ERROR: XX000: cannot update SecondarySnapshot during a parallel operation
Date: Thu, 14 Mar 2019 23:45:27 -0400
Message-ID: <11343.1552621527@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+hUKG+zyG=KZ2kSMfb2z6LWo7qParsuyaggzQbnLQMpc+KUag@mail.gmail.com>
References: <58a76837.43af.16974f968f0.Coremail.fuzk80_76@163.com>
	<e6e81462-2330-238d-6a31-9746718173b9@aklaver.com>
	<2fb2c6ad.74b1.1697ac42b3f.Coremail.fuzk80_76@163.com>
	<CAOBaU_ZVGmy77o_9bV3te0PXZ58j2XssWJ3QukNKOSb=Y78N7g@mail.gmail.com>
	<b58f6cfd-69a4-44f5-bde9-0237b7d41d01@aklaver.com>
	<CAOBaU_b5=HMBTf5LiW2oW=DhSpnN=AFCa1=K5FQZO7haOHCfHA@mail.gmail.com>
	<CACowWR3Meda=8=GG1s97p1AmLf8d3g5yHstdSER0P+m=J8NK7Q@mail.gmail.com>
	<CAOBaU_ZoeQ3T+G_Eq8ZDbC4MO7NiCDc1zG+8C1eMXn0hu=S-Jw@mail.gmail.com>
	<CA+hUKG+zyG=KZ2kSMfb2z6LWo7qParsuyaggzQbnLQMpc+KUag@mail.gmail.com>

Thomas Munro <thomas.munro@gmail.com> writes:
> A fast way to find out would be to get one of these people who can
> reproduce the problem to recompile PostgreSQL with that error changed
> to a PANIC, and examine the resulting smoldering core.  (Someone had a
> proposal to make PostgreSQL errors optionally dump the function call
> stack with backtrace(3) even in regular production builds, which would
> make this kind of investigations go faster, I wonder what happened to
> that.)

Can't speak for other people, but I remember experimenting with
glibc's backtrace(3) and being so underwhelmed by the usefulness
of the information presented that I thought incorporating it would
be mostly a waste of effort.  Maybe there's an argument that it's
better than nothing at all; but I think we'd still be driven to
asking people to get stack traces with better tools.

			regards, tom lane




view thread (14+ messages)  latest in thread

Message-ID: <11343.1552621527@sss.pgh.pa.us>
Permalink:  ../11343.1552621527@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11343.1552621527@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, thomas.munro@gmail.com, rjuju123@gmail.com, pramsey@cleverelephant.ca, adrian.klaver@aklaver.com, fuzk80_76@163.com
  Subject: Re: ERROR: XX000: cannot update SecondarySnapshot during a parallel operation
  In-Reply-To: <11343.1552621527@sss.pgh.pa.us>
  References: <58a76837.43af.16974f968f0.Coremail.fuzk80_76@163.com> <e6e81462-2330-238d-6a31-9746718173b9@aklaver.com> <2fb2c6ad.74b1.1697ac42b3f.Coremail.fuzk80_76@163.com> <CAOBaU_ZVGmy77o_9bV3te0PXZ58j2XssWJ3QukNKOSb=Y78N7g@mail.gmail.com> <b58f6cfd-69a4-44f5-bde9-0237b7d41d01@aklaver.com> <CAOBaU_b5=HMBTf5LiW2oW=DhSpnN=AFCa1=K5FQZO7haOHCfHA@mail.gmail.com> <CACowWR3Meda=8=GG1s97p1AmLf8d3g5yHstdSER0P+m=J8NK7Q@mail.gmail.com> <CAOBaU_ZoeQ3T+G_Eq8ZDbC4MO7NiCDc1zG+8C1eMXn0hu=S-Jw@mail.gmail.com> <CA+hUKG+zyG=KZ2kSMfb2z6LWo7qParsuyaggzQbnLQMpc+KUag@mail.gmail.com> <11343.1552621527@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