On 2019-02-21 18:18, Robert Haas wrote: > Another off-ball idea is to maybe allow something like > shared_preload_statements.pg_stat_statments = 1. The server would > load all libraries X for which shared_preload_statements.X is set to a > value that is one of the ways we spell a true value for a Boolean GUC.
This line of thought is attractive, but the library lists can be order-sensitive in case of cooperating libraries, so an approach were the load order is indeterminate might not work. (It might be worth exploring ways of making it not order-sensitive. Many trade-offs.) -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services