mirror of https://github.com/postgres/postgres
The way the old query was written prevented some join optimizations because the join conditions were hidden inside a CASE expression. With a large number of constraints, the query became unreasonably slow. The new query performs much better. From: Alexey Bashtanov <bashtanov@imap.cc> Reviewed-by: Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>pull/17/merge
parent
68f3dbc552
commit
e3a58c8835
Loading…
Reference in new issue