From 040a39ed25bf8480bbd1947a2edeb0167f1e0789 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Wed, 12 Nov 2025 20:24:10 +0900 Subject: [PATCH] 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 --- src/backend/utils/adt/pg_dependencies.c | 2 +- src/backend/utils/adt/pg_ndistinct.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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. -- 2.39.5