4 ms·
Postgres takes the actual values into account when generating a query plan. The same query with different params can (and should) result in different query plan
by williamdclt 17d ago
Postgres takes the actual values into account when generating a query plan. The same query with different params can (and should) result in different query plans. It looks at statistics on the actual data stored.