pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robertson, Alan L <Alan.Robertson@charter.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Postgres Bug <pgsql-bugs@postgresql.org>
Subject: Re: ALTER SYSTEM for tcp_keepalives_idle doesn't show up with the SHOW command.
Date: Fri, 22 Dec 2017 17:46:45 +0000
Message-ID: <1513964805505.77792@charter.com> (raw)
In-Reply-To: <17247.1513963209@sss.pgh.pa.us>
References: <1513959489455.36489@charter.com>
	<17247.1513963209@sss.pgh.pa.us>

Is this described in the documentation somewhere?

Is there an alternative way to read out what the system thinks that these TCP-related configuration values are set to?

Thanks!

  -- Alan


________________________________________
From: Tom Lane <tgl@sss.pgh.pa.us>
Sent: Friday, December 22, 2017 10:20 AM
To: Robertson, Alan L
Cc: Postgres Bug
Subject: Re: ALTER SYSTEM for tcp_keepalives_idle doesn't show up with the SHOW command.

"Robertson, Alan L" <Alan.Robertson@charter.com> writes:
> Dear Postgres Bug list,
> I read about the ALTER SYSTEM command at https://www.postgresql.org/docs/9.6/static/sql-altersystem.html and an article at
> http://paquier.xyz/postgresql-2/postgres-9-4-feature-highlight-alter-system-set-for-dynamic-configur...

> and his example worked exactly as it should.  However, when I tried with tcp_keepalives_idle, updates the auto.conf file as it should, but does not show up in the SHOW command...  I tried it with the value 60, or '60' - didn't seem to make any difference...

I think the keepalive settings will read as zero unless your connection
is actually over TCP (ie not a unix socket).

                        regards, tom lane
E-MAIL CONFIDENTIALITY NOTICE: 
The contents of this e-mail message and any attachments are intended solely for the addressee(s) and may contain confidential and/or legally privileged information. If you are not the intended recipient of this message or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message and any attachments. If you are not the intended recipient, you are notified that any use, dissemination, distribution, copying, or storage of this message or any attachment is strictly prohibited.





view thread (13+ messages)  latest in thread

Message-ID: <1513964805505.77792@charter.com>
Permalink:  ../1513964805505.77792@charter.com/
Also on:    postgresql.org/message-id/1513964805505.77792@charter.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: Alan.Robertson@charter.com, tgl@sss.pgh.pa.us
  Subject: Re: ALTER SYSTEM for tcp_keepalives_idle doesn't show up with the SHOW command.
  In-Reply-To: <1513964805505.77792@charter.com>
  References: <1513959489455.36489@charter.com> <17247.1513963209@sss.pgh.pa.us> <1513964805505.77792@charter.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox