Fix function name in error hint
authorMagnus Hagander <magnus@hagander.net>
Thu, 18 Mar 2021 10:17:42 +0000 (11:17 +0100)
committerMagnus Hagander <magnus@hagander.net>
Thu, 18 Mar 2021 10:22:37 +0000 (11:22 +0100)
commit0c3079e3ef6956feefc9cc4f62ad1f9acc7c84e9
treea9abb664ed90b5ee13b0278aedb5fc4c9d6697b0
parentb77e5d73bcfc0810e7a4eab29cfbc2859adb8db9
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