public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: zhangjinyu <[email protected]>
Cc: [email protected]
Cc: [email protected]
Subject: Re: [BUGS] Re: BUG #13541: There is a visibility issue when run some DDL and Query. The time window is very shot
Date: Fri, 14 Aug 2015 10:23:10 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<CAJrrPGd--dTUoRpwiSmNVpa56sbCMMB-xB4=Qc4um1NNnt4uhQ@mail.gmail.com>
<[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>
zhangjinyu <[email protected]> writes:
> The DDL query(alter ...set data type ) rewrites all tuples with new
> transaction xid, so if the transaction isolation level is repeatable read,
> that will cause wrong result.
Yes. This is unlikely to change, but we ought to document it.
I see that we have documentation warning about this sort of effect in the
TRUNCATE reference page, but not in ALTER TABLE's. Rather than
copy-and-paste that, ISTM it'd be better to move the warning to somewhere
in mvcc.sgml.
regards, tom lane
--
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
view thread (4+ messages)
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: [BUGS] Re: BUG #13541: There is a visibility issue when run some DDL and Query. The time window is very shot
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox