Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSRYZ-0005RW-RT for pgsql-bugs@arkaria.postgresql.org; Fri, 22 Dec 2017 17:56:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSRYZ-0000gn-DH for pgsql-bugs@arkaria.postgresql.org; Fri, 22 Dec 2017 17:56:27 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eSRPJ-0003wT-9W for pgsql-bugs@lists.postgresql.org; Fri, 22 Dec 2017 17:46:53 +0000 Received: from mail.chartercom.com ([24.176.92.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eSRPG-0001Ig-4g for pgsql-bugs@postgresql.org; Fri, 22 Dec 2017 17:46:51 +0000 X-IronPort-AV: E=Sophos;i="5.45,441,1508821200"; d="scan'208";a="242215747" Received: from unknown (HELO SC58MEXGP022.CORP.CHARTERCOM.com) ([172.24.253.150]) by mail.chartercom.com with ESMTP; 22 Dec 2017 11:46:46 -0600 Received: from SC58MEXGP020.CORP.CHARTERCOM.COM (172.24.253.148) by SC58MEXGP022.CORP.CHARTERCOM.com (172.24.253.150) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Fri, 22 Dec 2017 11:46:45 -0600 Received: from SC58MEXGP020.CORP.CHARTERCOM.COM ([fe80::29d5:ec22:71e0:707]) by SC58MEXGP020.CORP.CHARTERCOM.com ([fe80::29d5:ec22:71e0:707%18]) with mapi id 15.00.1104.000; Fri, 22 Dec 2017 11:46:45 -0600 From: "Robertson, Alan L" To: Tom Lane CC: Postgres Bug Subject: Re: ALTER SYSTEM for tcp_keepalives_idle doesn't show up with the SHOW command. Thread-Topic: ALTER SYSTEM for tcp_keepalives_idle doesn't show up with the SHOW command. Thread-Index: AQHTez6kljvbnl/ZIEqPT7JFZRhQcqNQAFOA//+ic/I= Date: Fri, 22 Dec 2017 17:46:45 +0000 Message-ID: <1513964805505.77792@charter.com> References: <1513959489455.36489@charter.com>,<17247.1513963209@sss.pgh.pa.us> In-Reply-To: <17247.1513963209@sss.pgh.pa.us> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [172.24.253.192] Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Is this described in the documentation somewhere? Is there an alternative way to read out what the system thinks that these T= CP-related configuration values are set to? Thanks! -- Alan ________________________________________ From: Tom Lane 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" 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-syst= em-set-for-dynamic-configuration/ > 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' - did= n'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 privilege= d 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 t= he 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, diss= emination, distribution, copying, or storage of this message or any attachm= ent is strictly prohibited.