pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tatsuo Ishii <ishii@sraoss.co.jp>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Fix document bug regarding read only transactions.
Date: Thu, 15 Jun 2017 10:13:00 -0400
Message-ID: <31121.1497535980@sss.pgh.pa.us> (raw)
In-Reply-To: <20170615.110032.244878105781471727.t-ishii@sraoss.co.jp>
References: <24379.1497489711@sss.pgh.pa.us>
	<20170615.104104.1023962800974388504.t-ishii@sraoss.co.jp>
	<25261.1497491055@sss.pgh.pa.us>
	<20170615.110032.244878105781471727.t-ishii@sraoss.co.jp>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Tatsuo Ishii <ishii@sraoss.co.jp> writes:
>> Right, but what I think it is comparing is a read-only transaction
>> on the master and a transaction on the standby.  The former can do
>> nextval() on temp sequences, the latter can't.

> But we cannot create temp sequences on stanbys in the first place.
> Still do you think there's value to refer to nextval() on temp
> sequences here?

You're right that the statement is irrelevant in the context of what
a standby can or can't do, but what I'm worried about is that someone
will read it and believe that it represents the whole truth about
what read-only master transactions can do.  The previous wording was
also irrelevant to the context of a standby, and yet this whole thread
exists because somebody complained that it's an inaccurate description
of the restrictions on such a master transaction.  Well, it's still
inaccurate.

			regards, tom lane


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (12+ messages)  latest in thread

Message-ID: <31121.1497535980@sss.pgh.pa.us>
Permalink:  ../31121.1497535980@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/31121.1497535980@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-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ishii@sraoss.co.jp
  Subject: Re: pgsql: Fix document bug regarding read only transactions.
  In-Reply-To: <31121.1497535980@sss.pgh.pa.us>
  References: <24379.1497489711@sss.pgh.pa.us> <20170615.104104.1023962800974388504.t-ishii@sraoss.co.jp> <25261.1497491055@sss.pgh.pa.us> <20170615.110032.244878105781471727.t-ishii@sraoss.co.jp> <31121.1497535980@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