pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Magnus Hagander <magnus@hagander.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix function name in error hint
Date: Thu, 18 Mar 2021 10:27:23 +0000
Message-ID: <E1lMpsB-0004dV-7O@gemulon.postgresql.org> (raw)

Fix function name in error hint

pg_read_file() is the function that's in core, pg_file_read() is in
adminpack. But when using pg_file_read() in adminpack it calls the *C*
level function pg_read_file() in core, which probably threw the original
author off. But the error hint should be about the SQL function.

Reported-By: Sergei Kornilov
Backpatch-through: 11
Discussion: https://postgr.es/m/373021616060475@mail.yandex.ru

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/da18d829c28197efb04805a43f129f62650e50c8

Modified Files
--------------
src/backend/utils/adt/genfile.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



view thread (4+ messages)  latest in thread

Message-ID: <E1lMpsB-0004dV-7O@gemulon.postgresql.org>
Permalink:  ../E1lMpsB-0004dV-7O@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lMpsB-0004dV-7O@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: magnus@hagander.net
  Subject: Re: pgsql: Fix function name in error hint
  In-Reply-To: <E1lMpsB-0004dV-7O@gemulon.postgresql.org>
  References: <E1lMpsB-0004dV-7O@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