Tom Lane 73b7f48f78 Improve run-time partition pruning to handle any stable expression.
The initial coding of the run-time-pruning feature only coped with cases
where the partition key(s) are compared to Params.  That is a bit silly;
we can allow it to work with any non-Var-containing stable expression, as
long as we take special care with expressions containing PARAM_EXEC Params.
The code is hardly any longer this way, and it's considerably clearer
(IMO at least).  Per gripe from Pavel Stehule.

David Rowley, whacked around a bit by me

Discussion: https://postgr.es/m/CAFj8pRBjrufA3ocDm8o4LPGNye9Y+pm1b9kCwode4X04CULG3g@mail.gmail.com
2018-06-10 15:22:32 -04:00
..
2018-06-06 14:48:08 -04:00
2018-06-04 16:17:34 -04:00
2018-06-09 09:33:53 -07:00
2018-06-07 23:37:09 -04:00
2018-01-02 23:30:12 -05:00
2018-06-07 14:40:38 +02:00
2018-05-21 12:29:52 -04:00
2018-04-26 14:47:16 -04:00
2018-03-30 17:33:04 -07:00
2017-05-15 12:19:54 -04:00