Fix misleading comment in pg_get_statisticsobjdef_string()

David Rowley <drowley@postgresql.org>

Commit: 3760d278dc4165d5eef7435fc62d8ebe13b8e793
Author: David Rowley <drowley@postgresql.org>
Date: 2025-09-25T23:04:15Z
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

Files

PathChange+/−
src/backend/utils/adt/ruleutils.c modified +0 −1

Discussion