pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fail BRIN control functions during recovery explicitly
Date: Thu, 14 Jun 2018 17:20:07 +0000
Message-ID: <E1fTVup-0001Mn-8x@gemulon.postgresql.org> (raw)

Fail BRIN control functions during recovery explicitly

They already fail anyway, but prior to this patch they raise an ugly
error message about a lock that cannot be acquired.  This just improves
the message.

Author: Masahiko Sawada
Reported-by: Masahiko Sawada
Discussion: https://postgr.es/m/CAD21AoBZau4g4_NUf3BKNd=CdYK+xaPdtJCzvOC1TxGdTiJx_Q@mail.gmail.com
Reviewed-by: Kuntal Ghosh, Alexander Korotkov, Simon Riggs, Michaël Paquier, Álvaro Herrera

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/74da7cda31c07122257c527d9fd068dc28493fc8

Modified Files
--------------
src/backend/access/brin/brin.c | 12 ++++++++++++
1 file changed, 12 insertions(+)



view thread (4+ messages)  latest in thread

Message-ID: <E1fTVup-0001Mn-8x@gemulon.postgresql.org>
Permalink:  ../E1fTVup-0001Mn-8x@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fTVup-0001Mn-8x@gemulon.postgresql.org

 · 

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: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Fail BRIN control functions during recovery explicitly
  In-Reply-To: <E1fTVup-0001Mn-8x@gemulon.postgresql.org>
  References: <E1fTVup-0001Mn-8x@gemulon.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