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: Fix function code in error report
Date: Wed, 06 Jun 2018 18:50:07 +0000
Message-ID: <E1fQdVX-0002E5-Dc@gemulon.postgresql.org> (raw)

Fix function code in error report

This bug causes a lseek() failure to be reported as a "could not open"
failure in the error message, muddling bug reports.  I introduced this
copy-and-pasteo in commit 78e122010422.

Noticed while reviewing code for bug report #15221, from lily liang.  In
version 10 the affected function is only used by multixact.c and
commit_ts, and only in corner-case circumstances, neither of which are
involved in the reported bug (a pg_subtrans failure.)

Author: Álvaro Herrera

Branch
------
REL9_3_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/78d0b16f189a0ab153e309f6229466e875b5a502

Modified Files
--------------
src/backend/access/transam/slru.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



view thread (6+ messages)  latest in thread

Message-ID: <E1fQdVX-0002E5-Dc@gemulon.postgresql.org>
Permalink:  ../E1fQdVX-0002E5-Dc@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fQdVX-0002E5-Dc@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: Fix function code in error report
  In-Reply-To: <E1fQdVX-0002E5-Dc@gemulon.postgresql.org>
  References: <E1fQdVX-0002E5-Dc@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