RE: Enhancement Idea - Expose the active value of a parameter in pg_settings

2018-05-25 Thread Greg Clough
I was scraping the entire cluster with "pgmetrics", and I was trying to reduce all "size" numeric settings down to bytes for them. I figured it would be nice if PostgreSQL could expose the data it's already got rather than forcing all external applications that want that

Enhancement Idea - Expose the active value of a parameter in pg_settings

2018-05-25 Thread Greg Clough
g that has meaning (e.g. log_min_duration_statement), then it should return "-1". I presume that as a part of running the server that we have already decoded what the active values should be, so I'm asking if we can expose this data via the pg_settings view? Regards Greg Clough http