From: Michael Paquier Date: Wed, 12 Nov 2025 11:24:10 +0000 (+0900) Subject: Fix comments of output routines for pg_ndistinct and pg_dependencies X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=040a39ed25bf8480bbd1947a2edeb0167f1e0789;p=postgresql.git Fix comments of output routines for pg_ndistinct and pg_dependencies Oversights in 7b504eb282ca (for pg_ndistinct) and 2686ee1b7ccf (for pg_dependencies). Reported-by: Man Zeng Discussion: https://postgr.es/m/176293711658.2081918.12019224686811870203.pgcf@coridan.postgresql.org --- diff --git a/src/backend/utils/adt/pg_dependencies.c b/src/backend/utils/adt/pg_dependencies.c index a4f7c48683f..a0a9440fd5c 100644 --- a/src/backend/utils/adt/pg_dependencies.c +++ b/src/backend/utils/adt/pg_dependencies.c @@ -39,7 +39,7 @@ pg_dependencies_in(PG_FUNCTION_ARGS) } /* - * pg_dependencies - output routine for type pg_dependencies. + * pg_dependencies_out - output routine for type pg_dependencies. */ Datum pg_dependencies_out(PG_FUNCTION_ARGS) diff --git a/src/backend/utils/adt/pg_ndistinct.c b/src/backend/utils/adt/pg_ndistinct.c index 5ce655bce75..667ada9c3b4 100644 --- a/src/backend/utils/adt/pg_ndistinct.c +++ b/src/backend/utils/adt/pg_ndistinct.c @@ -37,7 +37,7 @@ pg_ndistinct_in(PG_FUNCTION_ARGS) } /* - * pg_ndistinct + * pg_ndistinct_out * output routine for type pg_ndistinct * * Produces a human-readable representation of the value.