pg_plan_advice: Disallow empty sublists within JOIN_ORDER()
Commit 8c9c2e5c09aeda713640ccb26bfca0fdccc310d5 fixed a similar
issue for FOREIGN_JOIN(). Handle this case similar to the way that
commit handled that case.
Backpatch-through: 19
Discussion: https://postgr.es/m/CA+TgmoYmXy-jiP5qDhqNEiYFEBzQsArO6O2d9E8szNZqi1bePQ@mail.gmail.com
Reviewed-by: Ayush Tiwari <ayushtiwari.slg01@gmail.com>
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/5e595d659fdb4829e910a1c4122ad4dec9dd0bd3
Modified Files
--------------
contrib/pg_plan_advice/expected/syntax.out | 7 +++++++
contrib/pg_plan_advice/pgpa_parser.y | 6 ++++++
contrib/pg_plan_advice/sql/syntax.sql | 4 ++++
3 files changed, 17 insertions(+)