Re: should num_custom_plans be reset after plan invalidation?

From: Sami Imseih <samimseih(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: should num_custom_plans be reset after plan invalidation?
Date: 2025-03-05 14:57:28
Message-ID: CAA5RZ0s_qZeOgZVPNjvqpuBQKQ9JdDUZmUPVSWc+xbLTtMU2Sw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Yes, it is. There's little reason to expect that the invalidation
> would change our decision, and re-planning five times to confirm that
> is a high price to pay.

Re-planning 5 times did not sound appealing to me either, but I was
on the fence as to what the proper behavior should be.

Thanks for confirming!

--
Sami

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David G. Johnston 2025-03-05 14:58:26 Re: Allow database owners to CREATE EVENT TRIGGER
Previous Message Nazir Bilal Yavuz 2025-03-05 14:57:17 Upgrade FreeBSD CI images to 14.2