pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #6685: Concurrency fault in create table
4+ messages / 4 participants
[nested] [flat]
* BUG #6685: Concurrency fault in create table
@ 2012-06-10 10:25 mthornton@optrak.com
0 siblings, 2 replies; 4+ messages in thread
From: mthornton@optrak.com @ 2012-06-10 10:25 UTC (permalink / raw)
To: pgsql-bugs
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".
Postgres should be responsible for serializing updates to the shared
resource (whatever it is).
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #6685: Concurrency fault in create table
@ 2012-06-10 11:25 Craig Ringer <ringerc@ringerc.id.au>
parent: mthornton@optrak.com
1 sibling, 0 replies; 4+ messages in thread
From: Craig Ringer @ 2012-06-10 11:25 UTC (permalink / raw)
To: mthornton@optrak.com; +Cc: pgsql-bugs
On 06/10/2012 06:25 PM, mthornton@optrak.com wrote:
> 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".
Please copy and paste the full error message.
Which application are you using? psql directly? Something else?
--
Craig Ringer
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #6685: Concurrency fault in create table
@ 2012-06-10 21:08 Tom Lane <tgl@sss.pgh.pa.us>
parent: mthornton@optrak.com
1 sibling, 1 reply; 4+ messages in thread
From: Tom Lane @ 2012-06-10 21:08 UTC (permalink / raw)
To: mthornton@optrak.com; +Cc: pgsql-bugs
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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #6685: Concurrency fault in create table
@ 2012-06-10 21:15 Mark Thornton <mthornton@optrak.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 4+ messages in thread
From: Mark Thornton @ 2012-06-10 21:15 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-bugs
On 10/06/12 22:08, Tom Lane wrote:
> 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.
Ah, now I come to think of it, I do have more than one version here.
I'll recheck which one shows the problem.
Mark
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2012-06-10 21:15 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-06-10 10:25 BUG #6685: Concurrency fault in create table mthornton@optrak.com
2012-06-10 11:25 ` Craig Ringer <ringerc@ringerc.id.au>
2012-06-10 21:08 ` Tom Lane <tgl@sss.pgh.pa.us>
2012-06-10 21:15 ` Mark Thornton <mthornton@optrak.com>
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