pgsql: Fix misleading comment in pg_get_statisticsobjdef_string()

From: David Rowley <drowley(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix misleading comment in pg_get_statisticsobjdef_string()
Date: 2025-09-25 23:04:32
Message-ID: E1v1v0q-0005E9-1F@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)universality(at)gmail(dot)com>
Discussion: https://postgr.es/m/CACJufxHwVPgeu8o9D8oUeDQYEHTAZGt-J5uaJNgYMzkAW7MiCA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3760d278dc4165d5eef7435fc62d8ebe13b8e793

Modified Files
--------------
src/backend/utils/adt/ruleutils.c | 1 -
1 file changed, 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2025-09-25 23:41:36 pgsql: Improve stability of btree page split on ERRORs
Previous Message David Rowley 2025-09-25 22:21:48 pgsql: Remove unused parameter from check_and_push_window_quals