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 1nDxvt-0001m9-Fl for pgsql-hackers@arkaria.postgresql.org; Sun, 30 Jan 2022 00:19:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nDxvq-0007vw-Qh for pgsql-hackers@arkaria.postgresql.org; Sun, 30 Jan 2022 00:19:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nDxvq-0007vn-DB for pgsql-hackers@lists.postgresql.org; Sun, 30 Jan 2022 00:19:02 +0000 Received: from mail-io1-xd31.google.com ([2607:f8b0:4864:20::d31]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nDxvi-0003mc-3L for pgsql-hackers@lists.postgresql.org; Sun, 30 Jan 2022 00:19:00 +0000 Received: by mail-io1-xd31.google.com with SMTP id n17so12345650iod.4 for ; Sat, 29 Jan 2022 16:18:53 -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=W5floj5uYprJqhMH7IccuONC8e0yqDj9IeQyI9QwcE0=; b=ou4fhXeSF6R94NmIPJy+3ziogjcjzVKugS/aKD/vjknVKCRF5Jhls9K5D9FMIDEZuQ P6x9NFHibh23QAAfyGZE7lromLlrVkOvyJ7QARNJTm1jISpcYNuuRSH1I+Z9QTf42tKu TOsDJd87DPjW/EN87fheae37dCkqZY3mi3gIyWNDw3CRRYWHtROzhnHMj1ktMLk9t+5V ugIZoVly4TdXMNnMwuG/EpvPL8VjBmqPpvklxGIk1awMIaL0Li5yNpFTAPneRrc26gX4 +vPDaJHWqgA6hrSnWGcc1PauBiKdTBun6te+2u2+CVCY0KXa8hNA805h3vHA0mNBRpYV 9cyg== 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=W5floj5uYprJqhMH7IccuONC8e0yqDj9IeQyI9QwcE0=; b=oALq7zIpxEfHNsvAOWesc3xFe5iNPZyXobaIHoVe0uQIqqX3yz9WDsKhodlaOSybIY Nfa1607qsdaurVukDPIOIxGWJELlgrf1W5Q3IFeRjYiH9IO2kfVZSIsakOjm98sJB/oR OGlMzS7PD4hTl/yGjjOArtki8Ja8CveA1/Crnl/Jd009sgMu0xP8Qm1N56MUA41oDuCD znHz+c5ifvws2UOUXyySI+dQYqEtE7u0UkRr+8ZAxspjuzPHSTSC5fXQQuJQ7C91VAlF gBWfE55W8p5Y/IPPoK4kQBr7iPHZsX1N3MFLYB6qInjrGFe3vywDbj6HSRZoQakG7uzi bQCg== X-Gm-Message-State: AOAM533dNUWM7z+B02X4yDeye+99eFK16OVv7rGpVO3UoWUWxAeZdBLu S7ifdscDSEYkBy+COHJUhEzYGQ== X-Google-Smtp-Source: ABdhPJy+dHZx5kDEsOgrX1pCCL/9yCCLEGpzch7uwSkvvUKyT585KIB3vtjJhRYxTKmygMbDLDR6Cw== X-Received: by 2002:a05:6638:3051:: with SMTP id u17mr5832413jak.255.1643501931674; Sat, 29 Jan 2022 16:18:51 -0800 (PST) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id u26sm10315387ior.52.2022.01.29.16.18.50 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Jan 2022 16:18:51 -0800 (PST) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 341008006C6; Sat, 29 Jan 2022 18:18:50 -0600 (CST) Date: Sat, 29 Jan 2022 18:18:50 -0600 From: Justin Pryzby To: Michael Paquier Cc: Peter Eisentraut , Kyotaro Horiguchi , pgsql-hackers@lists.postgresql.org, bruce@momjian.us, tgl@sss.pgh.pa.us Subject: Re: GUC flags Message-ID: <20220130001849.GR23027@telsasoft.com> References: <20220106053641.GW14051@telsasoft.com> <20220125010729.GC23027@telsasoft.com> <20220125180751.GH23027@telsasoft.com> <20220126034426.GN23027@telsasoft.com> <20220128043621.GA23027@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 On Sat, Jan 29, 2022 at 03:38:53PM +0900, Michael Paquier wrote: > +-- Three exceptions as of transaction_* > +SELECT name FROM pg_settings_flags > + WHERE NOT no_show_all AND no_reset_all > + ORDER BY 1; > + name > +------------------------ > + transaction_deferrable > + transaction_isolation > + transaction_read_only > +(3 rows) I think "as of" is not the right phrase here. Maybe say: Exceptions are transaction_* > --- a/doc/src/sgml/func.sgml > +++ b/doc/src/sgml/func.sgml > @@ -23596,6 +23596,45 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); > + > + Returns an array of the flags associated with the given GUC, or > + NULL if the does not exist. The result is I guess it should say "if the GUC does not exist". > + an empty array if the GUC exists but there are no flags to show, > + as supported by the list below. I'd say "...but none of the GUC's flags are exposed by this function." > + The following flags are exposed (the most meaningful ones are > + included): "The most meaningful ones are included" doesn't seem to add anything. Maybe it'd be useful to say "(Only the most useful flags are exposed)" > + EXPLAIN, parameters included in > + EXPLAIN commands. > + > + I think the description is wrong, or just copied from the others. EXPLAIN is for GUCs which are shown in EXPLAIN(SETTINGS). |EXPLAIN, parameters included in EXPLAIN commands. |NO_SHOW_ALL, parameters excluded from SHOW ALL commands. |NO_RESET_ALL, parameters excluded from RESET ALL commands. |NOT_IN_SAMPLE, parameters not included in postgresql.conf by default. |RUNTIME_COMPUTED, runtime-computed parameters. Instead of a comma, these should use a colon, or something else? -- Justin