Yay!  I like the changes.<p>But they are doing absolutely nothing about my biggest beef with PostgreSQL.  Which is that there is absolutely no way to lock in good query plans.  It always reserves the right to switch plans on you, and sometimes gives much, much, much worse ones.  No other database does this to me.  Even MySQL&#x27;s stupid optimizer can be reliably channeled into specific query plans with the right use of temporary tables and indexes.<p>This is a problem because improvements don&#x27;t matter if the query plan is &quot;good enough&quot;.  But they will care if you screw up.  PostgreSQL usually does well, but sometimes screws up spectacularly.<p>The example that I have been struggling the most often with in the last few months is a logging table that I create summaries from.  Normally I only query minutes to hours, but I set it up as a series of SQL statements so I first put the range in a table, and then have <i>happened BETWEEN range_start AND range_end</i>.  PostgreSQL really, Really, REALLY wants to decide that the index on the timestamp is a bad idea, and wants to instead do a full table scan.  Every time it does, summarization goes from under a second to taking hours.<p>Hopefully the new BRIN indexes will be understood by the optimizer in a way that makes it happier to use the index.  But I&#x27;m not optimistic.  And if I lean on it harder, I&#x27;m sure from past experience that I&#x27;ll find something else that breaks.