Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 2DF871336DB6 for ; Fri, 29 Oct 2010 14:56:39 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 01469-09 for ; Fri, 29 Oct 2010 17:56:31 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 6B77D1336971 for ; Fri, 29 Oct 2010 14:56:31 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o9THuNZI004592; Fri, 29 Oct 2010 13:56:23 -0400 (EDT) To: Magnus Hagander cc: Josh Berkus , pgsql-bugs@postgresql.org Subject: Re: What happened to SSL_CIPHERS? In-reply-to: References: <4CCA5C97.7090902@agliodbs.com> <4CCAFE06.1040101@agliodbs.com> Comments: In-reply-to Magnus Hagander message dated "Fri, 29 Oct 2010 10:39:04 -0700" Date: Fri, 29 Oct 2010 13:56:23 -0400 Message-ID: <4591.1288374983@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201010/265 X-Sequence-Number: 28555 Magnus Hagander writes: > On Fri, Oct 29, 2010 at 10:01, Josh Berkus wrote: >> Mind you, we *also* need a doc patch. ("This parameter is only available if >> PostgreSQL was built with SSL support"). > Actually, I think it'd be more user friendly to make the parameter > still exist and be a no-op (maybe show the value NULL?) on non-SSL > enabled builds. Same goes for all other parameters that depend on a > specific compile flag. That would make life easier on automated tools > *and* on people sitting down at a new installation. Yeah, we're a bit schizophrenic about this. Some parameters still exist, but can't be set to any value but "disabled", when the relevant feature wasn't compiled. Others just aren't there. It takes code space and work to make a parameter be present but behave differently if disabled. I don't think that we should institute a blanket policy of requiring that to happen; in particular, there are a number of debug-type parameters for which I argue that it's not worth the trouble. But for user-facing parameters I agree we should do it, and ssl_ciphers is one of those. In any case, a doc patch would be the right thing for the back branches. regards, tom lane