pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Rowley <drowley@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix misleading comment in pg_get_statisticsobjdef_string()
Date: Thu, 25 Sep 2025 23:04:32 +0000
Message-ID: <E1v1v0q-0005E9-1F@gemulon.postgresql.org> (raw)

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

Branch
------
master

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

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



Message-ID: <E1v1v0q-0005E9-1F@gemulon.postgresql.org>
Permalink:  ../E1v1v0q-0005E9-1F@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1v1v0q-0005E9-1F@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: drowley@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix misleading comment in pg_get_statisticsobjdef_string()
  In-Reply-To: <E1v1v0q-0005E9-1F@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox