pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Add transformed flag to nodes/*funcs.c for CREATE STATISTICS
2+ messages / 2 participants
[nested] [flat]

* pgsql: Add transformed flag to nodes/*funcs.c for CREATE STATISTICS
@ 2021-06-06 19:09  Tomas Vondra <tomas.vondra@postgresql.org>
  0 siblings, 1 reply; 2+ messages in thread

From: Tomas Vondra @ 2021-06-06 19:09 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Add transformed flag to nodes/*funcs.c for CREATE STATISTICS

Commit a4d75c86bf added a new flag, tracking if the statement was
processed by transformStatsStmt(), but failed to add this flag to
nodes/*funcs.c.

Catversion bump, due to adding a flag to copy/equal/out functions.

Reported-by: Noah Misch
Discussion: https://postgr.es/m/ad7891d2-e90c-b446-9fe2-7419143847d7%40enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d57ecebd128cdf2f4844a2ea4d35ff28d7d69be8

Modified Files
--------------
src/backend/nodes/copyfuncs.c    | 1 +
src/backend/nodes/equalfuncs.c   | 1 +
src/backend/nodes/outfuncs.c     | 1 +
src/include/catalog/catversion.h | 2 +-
4 files changed, 4 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pgsql: Add transformed flag to nodes/*funcs.c for CREATE STATISTICS
@ 2021-06-06 19:13  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Tomas Vondra <tomas.vondra@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2021-06-06 19:13 UTC (permalink / raw)
  To: Tomas Vondra <tomas.vondra@postgresql.org>; +Cc: pgsql-committers@lists.postgresql.org

Tomas Vondra <tomas.vondra@postgresql.org> writes:
> Catversion bump, due to adding a flag to copy/equal/out functions.

FWIW, it's not necessary to do a catversion bump unless you had
occasion to touch readfuncs.c.  A node type with only outfuncs.c
support cannot appear in stored rules, hence no need for catversion
change.  It's not terribly important in this context, of course.

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-06-06 19:13 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-06-06 19:09 pgsql: Add transformed flag to nodes/*funcs.c for CREATE STATISTICS Tomas Vondra <tomas.vondra@postgresql.org>
2021-06-06 19:13 ` Tom Lane <tgl@sss.pgh.pa.us>

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