summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ruleutils.c
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2025-09-26 11:04:15 +1200
committerDavid Rowley <drowley@postgresql.org>2025-09-26 11:04:15 +1200
commit3760d278dc4165d5eef7435fc62d8ebe13b8e793 (patch)
treef1ab8a9e7aca7f5e4d94f5715ebdb268ff76d0e6 /src/backend/utils/adt/ruleutils.c
parent4be9024d57330b10d90e723787a83a6de8827b84 (diff)
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 <jian.universality@gmail.com> Discussion: https://postgr.es/m/CACJufxHwVPgeu8o9D8oUeDQYEHTAZGt-J5uaJNgYMzkAW7MiCA@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
-rw-r--r--src/backend/utils/adt/ruleutils.c1
1 files changed, 0 insertions, 1 deletions
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 *