Re: Setting libpq TCP keepalive parameters from environment

2018-05-09 Thread Oleksandr Shulgin
On Wed, May 9, 2018 at 1:58 AM, Craig Ringer wrote: > > > > It would be much more convenient to just set the environment variable > when > > running the script and let it affect the whole process and its children. > > > > Would a patch be welcome? > > I can't really comment on that part, but: > >

Re: Setting libpq TCP keepalive parameters from environment

2018-05-08 Thread Craig Ringer
On 8 May 2018 at 16:15, Oleksandr Shulgin wrote: > Hi Hackers, > > I didn't find the original discussion which led to introduction of the > client-side set of keepalive parameters back in [1]. > > The issue I'm facing is that it doesn't seem to be possible to set these > parameters from the enviro

Setting libpq TCP keepalive parameters from environment

2018-05-08 Thread Oleksandr Shulgin
Hi Hackers, I didn't find the original discussion which led to introduction of the client-side set of keepalive parameters back in [1]. The issue I'm facing is that it doesn't seem to be possible to set these parameters from the environment variables. The block of option definitions[2] added for