mislead comments in pg_get_statisticsobjdef_string - Mailing list pgsql-hackers

From jian he
Subject mislead comments in pg_get_statisticsobjdef_string
Date
Msg-id CACJufxHwVPgeu8o9D8oUeDQYEHTAZGt-J5uaJNgYMzkAW7MiCA@mail.gmail.com
Whole thread Raw
Responses Re: mislead comments in pg_get_statisticsobjdef_string
List pgsql-hackers
hi.

/*
 * Internal version for use by ALTER TABLE.
 * Includes a tablespace clause in the result.
 * Returns a palloc'd C string; no pretty-printing.
 */
char *
pg_get_statisticsobjdef_string(Oid statextid)
{
    return pg_get_statisticsobj_worker(statextid, false, false);
}


is the above "tablespace clause" comment wrong?
since there is no "tablespace clause" related to CREATE STATISTICS.

I guess that time, comments were just simply copied from
function pg_get_indexdef_string.



pgsql-hackers by date:

Previous
From: Daniil Davydov
Date:
Subject: Re: Fix bug with accessing to temporary tables of other sessions
Next
From: Maxim Orlov
Date:
Subject: Use "?=" operator for a contrib makefile in documentation