From: Tom Lane <tgl@sss.pgh.pa.us>
To: mthornton@optrak.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6685: Concurrency fault in create table
Date: Sun, 10 Jun 2012 17:08:56 -0400
Message-ID: <20228.1339362536@sss.pgh.pa.us> (raw)
In-Reply-To: <E1SdfL5-0003f1-0x@wrigleys.postgresql.org>
References: <E1SdfL5-0003f1-0x@wrigleys.postgresql.org>
mthornton@optrak.com writes:
> The following bug has been logged on the website:
> Bug reference: 6685
> Logged by: Mark Thornton
> Email address: mthornton@optrak.com
> PostgreSQL version: 9.1.4
> Operating system: Ubuntu 12.04
> Description:
> Executing
> create table child_a () inherits (parent)
> create table child_b () inherits (parent)
> concurrently (two separate connections) results in an error "concurrent
> tuple update".
You sure that's a 9.1 server? I can reproduce such an error in older
releases, but not 9.1.
I believe the relevant fix is
http://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=fbcf4b92aa64d4577bcf25925b...
As noted there, the change wasn't back-patched for fear that the
stronger lock on the parent table might be an undesirable behavioral
change for some applications.
regards, tom lane
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, mthornton@optrak.com
Subject: Re: BUG #6685: Concurrency fault in create table
In-Reply-To: <20228.1339362536@sss.pgh.pa.us>
References: <E1SdfL5-0003f1-0x@wrigleys.postgresql.org> <20228.1339362536@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