Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mscrt-0004TO-QV for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Dec 2021 03:34:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mscrs-00024h-JL for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Dec 2021 03:34:44 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mscrs-00023V-9j for pgsql-hackers@lists.postgresql.org; Thu, 02 Dec 2021 03:34:44 +0000 Received: from mail-io1-xd34.google.com ([2607:f8b0:4864:20::d34]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mscrp-0008WV-FQ for pgsql-hackers@lists.postgresql.org; Thu, 02 Dec 2021 03:34:43 +0000 Received: by mail-io1-xd34.google.com with SMTP id m9so33778556iop.0 for ; Wed, 01 Dec 2021 19:34:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Orv1gVSXB73NTH5C+3K+lw3MvvUlUw6sOKKA0YZd6Ts=; b=7JHxMumjsnOIRsjQWX9Z4jZ/7XXdL2Ilc9jgHbltLee8obkC48obRgcZMKvZspFC8W CmjeTvDf+zSSbU5l3V5wnsKa2lTdRwwb6QEXM5rwq2nIr2qZcjPyfxry8LMIWn/9958X t91qbAcmZSYvRTR9rSiDU2mWSqByvUQM2CzbNlb1w7D4c6yeaL5hOTO6R854OFkB+h3f dMSWs/8sV9vQT5SbSSqaQSRtY1Ap0aDhoi3mU3yZF6RnpxikLW/Zb+adtaekIWvWj9R2 /iwIsSQVNm3CH6+L3K9uGBaCKLuSHeOx4Qra7fY2zaSrMPZ+ourtkM5dmccKs7Ug9vAX ulIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Orv1gVSXB73NTH5C+3K+lw3MvvUlUw6sOKKA0YZd6Ts=; b=q9jQAC5LjzOAuDWZess+BDiyT6wK5eYzBHjnPem8fsDteQ+AbWuXtWE72yyOiG9Tek FD9kHaZdlVYAP791mtjgo3FPbapxl+AFHHU4C/Pm9LbWpZQW24MW0ba9nrGvE+YbTG70 9uHHxvMyf1YQHHKiHAk8jA8tPpfiDEIoOSZRsRxQrWdrf//BYBcwkmAXHvI9JJdcbE83 bIIXPirnFb3mSJJlN/uN1iRLzuGMXxzfWLNHnhfNv/mGJRTnTHZDbxTRZanb1tnqwWvD AzJXTD3kgr/ZLLOiquXVi45RBZOoCumn7BU/RNoQPuBW2x4KPwuB072aeM8mkZB4jjpS 4Fyg== X-Gm-Message-State: AOAM530/3ojEbwlTaumMFqCIoZ2sknyEUf7eDLZK3oZGzgtTGFD3O5Q6 ObOszZXRRq/2nRp68VwMvgffyK5OTiEUCw== X-Google-Smtp-Source: ABdhPJybXfnOivFSGjolTtC/5h55Cl8qfoTkdFd2zLbbAxc8pr7vijL1Pee0s+Rd2BBC1B+1vYct3A== X-Received: by 2002:a02:cc29:: with SMTP id o9mr15933030jap.116.1638416080585; Wed, 01 Dec 2021 19:34:40 -0800 (PST) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id c7sm973453iob.28.2021.12.01.19.34.40 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Dec 2021 19:34:40 -0800 (PST) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 6191C800AE5; Wed, 1 Dec 2021 21:34:39 -0600 (CST) Date: Wed, 1 Dec 2021 21:34:39 -0600 From: Justin Pryzby To: Michael Paquier Cc: pgsql-hackers@lists.postgresql.org Subject: Re: GUC flags Message-ID: <20211202033439.GL17618@telsasoft.com> References: <20211129030833.GJ17618@telsasoft.com> <20211201075904.GW17618@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > @@ -2142,7 +2142,8 @@ static struct config_int ConfigureNamesInt[] = > {"post_auth_delay", PGC_BACKEND, DEVELOPER_OPTIONS, > - gettext_noop("Waits N seconds on connection startup after authentication."), > + gettext_noop("Sets the amount of time to wait on connection " > + "startup after authentication."), > @@ -2762,7 +2763,8 @@ static struct config_int ConfigureNamesInt[] = > {"pre_auth_delay", PGC_SIGHUP, DEVELOPER_OPTIONS, > - gettext_noop("Waits N seconds on connection startup before authentication."), > + gettext_noop("Sets the amount of time to wait on connection " > + "startup before authentication."), > gettext_noop("This allows attaching a debugger to the process."), I wonder if these should say "Sets the amount of time to wait [before] authentication during connection startup" > {"checkpoint_warning", PGC_SIGHUP, WAL_CHECKPOINTS, > - gettext_noop("Enables warnings if checkpoint segments are filled more " > - "frequently than this."), > + gettext_noop("Sets the maximum time before warning if checkpoints " > + "triggered by WAL volume happen too frequently."), > gettext_noop("Write a message to the server log if checkpoints " > - "caused by the filling of checkpoint segment files happens more " > + "caused by the filling of WAL segment files happen more " > "frequently than this number of seconds. Zero turns off the warning."), Should this still say "seconds" ? Or change it to "this amount of time"? I'm not sure. > {"log_rotation_age", PGC_SIGHUP, LOGGING_WHERE, > - gettext_noop("Automatic log file rotation will occur after N minutes."), > + gettext_noop("Sets the amount of time to wait before forcing " > + "log file rotation."), > NULL, > GUC_UNIT_MIN > }, > @@ -3154,7 +3159,8 @@ static struct config_int ConfigureNamesInt[] = > > { > {"log_rotation_size", PGC_SIGHUP, LOGGING_WHERE, > - gettext_noop("Automatic log file rotation will occur after N kilobytes."), > + gettext_noop("Sets the maximum size of log file to reach before " > + "forcing log file rotation."), Actually, I think that for log_rotation_size, it should not say "forcing". "Sets the maximum size a log file can reach before being rotated" BTW the EXPLAIN flag for enable_incremental_sort could be backpatched to v13. -- Justin