]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix function name in error hint
authorMagnus Hagander <magnus@hagander.net>
Thu, 18 Mar 2021 10:23:48 +0000 (11:23 +0100)
committerMagnus Hagander <magnus@hagander.net>
Thu, 18 Mar 2021 10:23:48 +0000 (11:23 +0100)
commita5eb70cfca5bc252d7913eb6bb0ff304c4b7d7ae
tree3a69359d82d06099a94b8e16a178c05f70507fb3
parent2111b409879eee6900aaa3107987f932524064ca
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