From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: zhuqiangwei010@hotmail.com
Subject: BUG #16072: Two transaction to delete all data, The result is not hopeful
Date: Wed, 23 Oct 2019 06:29:02 +0000
Message-ID: <16072-f2baa0976f11d9f6@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 16072
Logged by: qiangwei zhu
Email address: zhuqiangwei010@hotmail.com
PostgreSQL version: 10.5
Operating system: "PostgreSQL 10.5 on x86_64-pc-linux-gnu, compiled
Description:
my test table struct is:
create table test(
f1 int
)
test table data is:
f1
---------------
1
1
1
1
1
I open two query analyzer,
trans A:
begin TRANSACTION;
delete from test;
INSERT into test(f1)
values(1)
trans B:
begin TRANSACTION;
delete from test;
then commit transA, last commit transB
why in test table has 1 rows at last?
sqlserver 、oracle、mysql database,use same test solution, there was no data
in test table at last.
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: noreply@postgresql.org, zhuqiangwei010@hotmail.com
Subject: Re: BUG #16072: Two transaction to delete all data, The result is not hopeful
In-Reply-To: <16072-f2baa0976f11d9f6@postgresql.org>
References: <16072-f2baa0976f11d9f6@postgresql.org>
* 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