On 21 February 2018 at 23:44, Amit Langote
> Please find attached updated patches.
Thanks for updating the code.
The question I have now is around NULL handling in
partkey_datum_from_expr(). I've not managed to find a way to get a
NULL Const in there as it seems all the clauses I try get removed
somewhere earlier in planning. Do you know for a fact that a NULL
Const is impossible to get there?
I'm having to add some NULL handling there for the run-time pruning
patch but wondered if it was also required for your patch.
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services