Comment Comment by zomgwat As of PostgreSQL 12, whether the optimization fence is used or not is controlled with MATERIALIZED and NOT MATERIALIZED. parent zomgwat 3 years ago