Re: Let plan_cache_mode to be a little less strict - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Let plan_cache_mode to be a little less strict
Date
Msg-id aJA1votIsIHkQHSL@paquier.xyz
Whole thread Raw
In response to Re: Let plan_cache_mode to be a little less strict  (Andrei Lepikhov <lepihov@gmail.com>)
List pgsql-hackers
On Fri, Aug 01, 2025 at 03:07:08PM +0200, Andrei Lepikhov wrote:
> I considered the worker_spi.c module, which demonstrates various SPI usage
> patterns. It might be more beneficial to use this instead of creating
> another test module, isn't it?

worker_spi is a playground for bgworker tests, so I'm not eager to
make it more complex for the case of cached planned.  SQL tests have
more benefits here, IMO, and they should be more efficient and more
predictible.  worker_spi can only work with TAP.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [PATCH] Proposal to Enable/Disable Index using ALTER INDEX
Next
From: "David G. Johnston"
Date:
Subject: Re: A little cosmetic to convert_VALUES_to_ANY()