From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mark Dilger <mark.dilger@enterprisedb.com>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: David Rowley <dgrowleyml@gmail.com>
Cc: Joe Conway <mail@joeconway.com>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Subject: Re: How about a psql backslash command to show GUCs?
Date: Thu, 07 Apr 2022 12:29:33 -0400
Message-ID: <3370142.1649348973@sss.pgh.pa.us> (raw)
In-Reply-To: <FF230C05-B27A-4C7B-8514-A5A21EA3D7CC@enterprisedb.com>
References: <202204061758.leffczewl4kd@alvherre.pgsql>
<ae4c3347-d1c7-394f-9a7e-425af6f89a80@joeconway.com>
<3123259.1649270440@sss.pgh.pa.us>
<CAApHDvoCyxBZqdvwc93cnsr_48zBY7wwYmZHhCjhgp-naiDKSA@mail.gmail.com>
<995e06b1-0e50-396e-fce3-934d5e511e27@dunslane.net>
<FF230C05-B27A-4C7B-8514-A5A21EA3D7CC@enterprisedb.com>
Mark Dilger <mark.dilger@enterprisedb.com> writes:
> We have too many synonyms for configuration parameters. "config", "guc", "parameter", and "setting" are already in use. I thought we agreed on the other thread that "setting" means the value, and "parameter" is the thing being set.
Right, so the suggestion of \dsetting seems a tad off-kilter.
> It's true that "config" refers to parameters in the name of pg_catalog.set_config, which is a pretty strong precedent, but sadly "config" also refers to configuration files, the build configuration (as in the "pg_config" tool), text search configuration, etc.
I'd also thought briefly about \dpar or \dparam, but I'm not sure that
that's much of an improvement. \dconf is at least in line with the
docs' terminology of "configuration parameter". (Note that bare
"parameter" has other meanings too, eg function parameter.) I wouldn't
fight too hard if people want to lengthen it to \dconfig for consistency
with set_config().
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, mark.dilger@enterprisedb.com, andrew@dunslane.net, dgrowleyml@gmail.com, mail@joeconway.com, alvherre@alvh.no-ip.org
Subject: Re: How about a psql backslash command to show GUCs?
In-Reply-To: <3370142.1649348973@sss.pgh.pa.us>
References: <202204061758.leffczewl4kd@alvherre.pgsql> <ae4c3347-d1c7-394f-9a7e-425af6f89a80@joeconway.com> <3123259.1649270440@sss.pgh.pa.us> <CAApHDvoCyxBZqdvwc93cnsr_48zBY7wwYmZHhCjhgp-naiDKSA@mail.gmail.com> <995e06b1-0e50-396e-fce3-934d5e511e27@dunslane.net> <FF230C05-B27A-4C7B-8514-A5A21EA3D7CC@enterprisedb.com> <3370142.1649348973@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox