From 3760d278dc4165d5eef7435fc62d8ebe13b8e793 Mon Sep 17 00:00:00 2001 From: David Rowley Date: Fri, 26 Sep 2025 11:04:15 +1200 Subject: Fix misleading comment in pg_get_statisticsobjdef_string() The comment claimed that a TABLESPACE reference was added to the resulting string, but that's not true. Looks like the comment was copied from pg_get_indexdef_string() without being adjusted correctly. Reported-by: jian he Discussion: https://postgr.es/m/CACJufxHwVPgeu8o9D8oUeDQYEHTAZGt-J5uaJNgYMzkAW7MiCA@mail.gmail.com --- src/backend/utils/adt/ruleutils.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/backend/utils/adt/ruleutils.c') diff --git a/src/backend/utils/adt/ruleutils.c b/src/backend/utils/adt/ruleutils.c index 0408a95941d..defcdaa8b34 100644 --- a/src/backend/utils/adt/ruleutils.c +++ b/src/backend/utils/adt/ruleutils.c @@ -1620,7 +1620,6 @@ pg_get_statisticsobjdef(PG_FUNCTION_ARGS) /* * Internal version for use by ALTER TABLE. - * Includes a tablespace clause in the result. * Returns a palloc'd C string; no pretty-printing. */ char * -- cgit v1.2.3