pgsql: Fix function name in error hint - Mailing list pgsql-committers

From Magnus Hagander
Subject pgsql: Fix function name in error hint
Date
Msg-id E1lMpsB-0004dW-7h@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0c3079e3ef6956feefc9cc4f62ad1f9acc7c84e9

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


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Doc: Update description for parallel insert reloption.
Next
From: Tomas Vondra
Date:
Subject: pgsql: Remove temporary files after backend crash