Re: enable_resultcache confusion

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: "David G. Johnston" <david.g.johnston@gmail.com>
Cc: David Rowley <dgrowleyml@gmail.com>, Robert Haas <robertmhaas@gmail.com>, Bruce Momjian <bruce@momjian.us>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2021-07-08T18:00:12Z
Lists: pgsql-hackers
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> "enable_nodememoization" would work for me

That seems pretty unreadable.  Maybe just "enable_memoization"?

Really if we're going to do something here, we can't merely mess
with the GUC name.  David had expressed a willingness to rename
everything about ResultCache some time ago, but nobody stepped up
with a better name.

Maybe name the plan node type Memoize, and the GUC "enable_memoize"?

			regards, tom lane



Commits

  1. Change the name of the Result Cache node to Memoize