On 2/15/17 10:52, Robert Haas wrote:
> Let's wait and see if anybody else has an opinion. I imagine that, as
> further libpq parameters are added, eventually this is going to get
> long and annoying enough that we want to do something about it. But
> we might not have reached that point just yet.
I was also annoyed by it when I first saw it.
I know why we have to do it, to override any libpq environment variables.
Now that I think about it some more, I think we should unset or somehow
make libpq ignore all libpq environment variables in the server
environment. Nothing good can come of using them.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services