Hello! Would it be possible to have an option "log_min_cost_statement", similar to "log_min_duration_statement" except that it logs all statement that has an minimum cost estimated by the planner? I think it would be easier to find unoptimized queries that way.
Just a thought! /Nichlas ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster