Dmitry Simonenko d0c92dd433 Fix crash on SELECT WHERE NOT with empty table
Modify table state is not created with an empty tables, which lead
to NULL pointer evaluation.

Starting from PG12 the planner injects a gating plan node above
any node that has pseusdo-constant quals.

To fix this, we need to check for such a gating node and handle the case.
We could optionally prune the extra node, since there's already
such a node below ChunkDispatch.

Fixes #1883.
2020-05-15 12:47:27 +03:00
..
2020-04-14 23:12:15 +02:00
2019-05-03 12:28:15 -04:00
2020-04-27 08:49:24 +02:00
2019-07-13 17:18:57 +02:00
2020-04-14 23:12:15 +02:00
2019-08-21 14:37:29 -04:00
2019-01-13 23:30:22 +01:00
2019-04-30 22:57:12 +02:00
2019-01-19 00:02:01 +01:00
2019-02-22 14:54:36 -05:00