]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix function name in error hint
authorMagnus Hagander <magnus@hagander.net>
Thu, 18 Mar 2021 10:24:42 +0000 (11:24 +0100)
committerMagnus Hagander <magnus@hagander.net>
Thu, 18 Mar 2021 10:24:42 +0000 (11:24 +0100)
commit5d825d7bee4d05c4ed086e23306e7a74b8f817a8
tree80a9662c9bca292ef4b96c9343050bda20ca0540
parent217815c66987704ef5139772a8fd05fd7c361e1a
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
src/backend/utils/adt/genfile.c