diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-08-16 12:43:04 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-08-16 12:49:39 -0300 |
commit | 6589a435d83ba0b22cb56381fc5b410eb0e27834 (patch) | |
tree | 220beb7632a4f4bfacf3066e2c04889164717137 /src/fe_utils/string_utils.c | |
parent | 43ba5ac6aa4879eea2d16f7f531b256c8203a3c3 (diff) | |
download | postgresql-6589a435d83ba0b22cb56381fc5b410eb0e27834.tar.gz postgresql-6589a435d83ba0b22cb56381fc5b410eb0e27834.zip |
Fix executor prune failure when plan already pruned
In a multi-layer partitioning setup, if at plan time all the
sub-partitions are pruned but the intermediate one remains, the executor
later throws a spurious error that there's nothing to prune. That is
correct, but there's no reason to throw an error. Therefore, don't.
Reported-by: Andreas Seltenreich <seltenreich@gmx.de>
Author: David Rowley <david.rowley@2ndquadrant.com>
Discussion: https://postgr.es/m/87in4h98i0.fsf@ansel.ydns.eu
Diffstat (limited to 'src/fe_utils/string_utils.c')
0 files changed, 0 insertions, 0 deletions