pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix function name in error hint
4+ messages / 1 participants
[nested] [flat]

* pgsql: Fix function name in error hint
@ 2021-03-18 10:27 Magnus Hagander <magnus@hagander.net>
  0 siblings, 0 replies; 4+ messages in thread

From: Magnus Hagander @ 2021-03-18 10:27 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Fix function name in error hint
@ 2021-03-18 10:27 Magnus Hagander <magnus@hagander.net>
  0 siblings, 0 replies; 4+ messages in thread

From: Magnus Hagander @ 2021-03-18 10:27 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Fix function name in error hint
@ 2021-03-18 10:27 Magnus Hagander <magnus@hagander.net>
  0 siblings, 0 replies; 4+ messages in thread

From: Magnus Hagander @ 2021-03-18 10:27 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_12_STABLE

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

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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Fix function name in error hint
@ 2021-03-18 10:27 Magnus Hagander <magnus@hagander.net>
  0 siblings, 0 replies; 4+ messages in thread

From: Magnus Hagander @ 2021-03-18 10:27 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5d825d7bee4d05c4ed086e23306e7a74b8f817a8

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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2021-03-18 10:27 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-03-18 10:27 pgsql: Fix function name in error hint Magnus Hagander <magnus@hagander.net>
2021-03-18 10:27 pgsql: Fix function name in error hint Magnus Hagander <magnus@hagander.net>
2021-03-18 10:27 pgsql: Fix function name in error hint Magnus Hagander <magnus@hagander.net>
2021-03-18 10:27 pgsql: Fix function name in error hint Magnus Hagander <magnus@hagander.net>

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