Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1thzAg-009bPa-LU for pgsql-hackers@arkaria.postgresql.org; Tue, 11 Feb 2025 22:56:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1thzAe-001dAf-Nd for pgsql-hackers@arkaria.postgresql.org; Tue, 11 Feb 2025 22:56:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1thzAe-001dAN-ER for pgsql-hackers@lists.postgresql.org; Tue, 11 Feb 2025 22:56:01 +0000 Received: from mail-il1-x12e.google.com ([2607:f8b0:4864:20::12e]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1thzAd-000It2-1c for pgsql-hackers@postgresql.org; Tue, 11 Feb 2025 22:56:00 +0000 Received: by mail-il1-x12e.google.com with SMTP id e9e14a558f8ab-3d03d2bd7d2so60117775ab.0 for ; Tue, 11 Feb 2025 14:55:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739314559; x=1739919359; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=RH0raJMQOB8jHGKvVYBGJz8QOGzsGWAefCTrDAaal8w=; b=gBuXN5jgcAQpJTtbjD5Rp78LsK2ky1VN+Fet8u2kHYdwx/OiK3sugZ4lZwxDbTEQQ6 cQmF4GeGYy1gMYuLzNVYv0sRzve8YT32jTd7Jw+KRJYp/QHr5vFG0wx1dPXd61+VnhY9 AORdLZZU+p4E8cWn7gRUZVwNkCMWDZXERL5LAvpVPM4lU1Rz2ff9pKGiCU5Ocrce5u5i xV/oVHw9ZkNEHGHZZTjESmMNijC+gmNUcXWSs8xF+LVFvtx/MmMaMzZ3ixNKcMNn9Wi5 xntrOykbKkeW8JYUwJST7o6JYiBhZ35LI5Rw/lqVP5a/DluZJtSeggGl4wnprZRNRVUL Fuzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739314559; x=1739919359; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=RH0raJMQOB8jHGKvVYBGJz8QOGzsGWAefCTrDAaal8w=; b=guZLOeObsxmKl5WqJKLFT1A+8Ow0UNRaFgawFLqgIwtSOhUGMpI1kCQWu8/f3DI8ln vC/aTuNCJMqvCOgrG2ywxp/oCsEAwA67Apn+zFoENa4RNuof1a3lTFPo14chiULtx9xg 8A5PLUipjCSPYFrDXmQFtMyoNuqukabS+6ymftUyHDR318E7I6hD5gp+UVN2HTzO65ne HGnmZS6CBgbM5/VckHESEuObgPnpUQfXsYGU9P3F/oX+3qu9Gf6IgGo10WAOK3hW21XK ZavnHOCHc3zuuwzFpuUovSstbk2j9yAvixcw7LhH9IKkJZ5MDjn3BC7foNIkkzSn1zYx ZCuA== X-Forwarded-Encrypted: i=1; AJvYcCWClo09nnduNF97zce4u8/YpZGlb/BGd/sXNLOdCsMWz0Hf/yD29GGupAZ0ZQDB0dc7bAanfdvefi8PnZyX@postgresql.org X-Gm-Message-State: AOJu0Yx/z6L7OI+CdFCNXIor3p77rKLT+yD2Mb4KWr6AmCdmFycOhO3c 2JOPyGvqdmvIpZMJ+e0uP7pWXyeZk1Xr2Y5D4y0gOSOesHaa4+0O X-Gm-Gg: ASbGncvZR/8r1Nm2RYHlGbxg2o5bImh419fBIdq3hEs3h/2ugVfNOK2mlvxwB42kWjc 9xshH3PJtTZdY8cN6CzHUQkgvRYgBtDEloCb4BG2T8lcJ8x8sH0au8WpO65YONHH0bAVJPsnsGQ pER+dWQ6NGgnFBxi/8Gm4YasHa6oY1zwml4idJpbRLTjNAyBhU71lF5VDEV3uJG2FEwMwkdvlo2 v21yumarqh14EGIdBo2TNeU824CwElARC2DEYV6lA+2UrQasL8LDBFyy/gY9R4Tyx9PDfFm3Pt5 758DztXuIbQ5FDT/YVIErhvNZ4SmWZxqi+7l2Agr21vdMTha5zjRinz+k7ZEzNObPxdqzFBRTx4 cOQNj7g== X-Google-Smtp-Source: AGHT+IFeaLm0yRCCvW/aGxqcb2N2TseNz83/YHUu+iRCCM/AtteosmBPxJGSoTcn5K4BkKvxCCLGWg== X-Received: by 2002:a05:6e02:1d03:b0:3cf:c8bf:3b87 with SMTP id e9e14a558f8ab-3d17bf4a86fmr11971495ab.1.1739314558807; Tue, 11 Feb 2025 14:55:58 -0800 (PST) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4ecd6476033sm2710835173.123.2025.02.11.14.55.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Feb 2025 14:55:58 -0800 (PST) Date: Tue, 11 Feb 2025 16:55:56 -0600 From: Nathan Bossart To: Daniel Gustafsson Cc: "David G. Johnston" , Peter Smith , PostgreSQL Hackers Subject: Re: describe special values in GUC descriptions more consistently Message-ID: References: <96FFD091-F221-4009-AA34-C740AC3C330D@yesql.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <96FFD091-F221-4009-AA34-C740AC3C330D@yesql.se> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Feb 11, 2025 at 11:41:51PM +0100, Daniel Gustafsson wrote: >> On 11 Feb 2025, at 19:11, Nathan Bossart wrote: > >> I thought about this one a bit, and I actually came to the opposite >> conclusion. IMHO it's reasonably obvious that an empty string means that >> the file isn't loaded, so there's not much point in stating it in the GUC >> description. Instead, I think we should follow the >> archive_command/archive_library example and use this space _only_ as a >> cross-reference to each other. There's certainly some nuances missed with >> this strategy, but that's not unique to this GUC. > > I don't necessarily disagree with this, but the proposed wording makes it sound > sort of like users have to select one or the other. Could it be softened a > little like perhaps "An empty string disables, \"ssl_crl_foo\" is still used"? Hm. I'm starting to lean towards considering these as too complicated to include in the GUC description. -- nathan