1
0
mirror of https://gitlab.com/depesz/explain.depesz.com.git synced 2024-11-24 08:42:27 +02:00
explain.depesz.com/sql/patch-013.sql
2020-08-24 10:19:20 +02:00

6 lines
160 B
PL/PgSQL

-- Added missing index for finding plan optimizations
BEGIN;
CREATE INDEX plans_optimization_for on plans (optimization_for) where not is_deleted;
COMMIT;