From: | Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com> |
---|---|
To: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Cc: | leiyanliang(at)highgo(dot)com |
Subject: | Re: BUG #16997: parameter server_encoding's category problem |
Date: | 2021-05-07 11:43:16 |
Message-ID: | CALj2ACVfeikCKamTEGPrJSfYwQSYYmG0z5LSHK+B0QOP5Lefag@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Fri, May 7, 2021 at 3:11 PM PG Bug reporting form
<noreply(at)postgresql(dot)org> wrote:
>
> The following bug has been logged on the website:
>
> Bug reference: 16997
> Logged by: yanliang lei
> Email address: leiyanliang(at)highgo(dot)com
> PostgreSQL version: 13.1
> Operating system: CentOS7.6
> Description:
>
> In the following sql statement, parameter server_encoding's category is
> “Client Connection Defaults / Locale and Formatting”:
>
> postgres=# select category from pg_settings where name='server_encoding';
> -[ RECORD 1 ]------------------------------------------------
> category | Client Connection Defaults / Locale and Formatting
>
> postgres=#
>
> In the document
> https://www.postgresql.org/docs/current/runtime-config-client.html#RUNTIME-CONFIG-CLIENT-FORMAT,
> there is no entry about parameter server_encoding.
>
> and in the document
> https://www.postgresql.org/docs/current/runtime-config-preset.html,there is
> a entry about parameter server_encoding.
>
> so, What is the parameter server_encoding's category?
Thanks for reporting. All the internal parameters that can't be set by
the users are under the "Preset Options" category. Likewise,
server_encoding, lc_collate and lc_ctype should also be listed under
the "Preset Options" category, even though there is a "Client
Connection Defaults / Locale and Formatting" category, which has user
configurable parameters. For instance, since the in_hot_standby is an
internal parameter, it is specified under the "Preset Options" even
though there is a "Replication / Standby Servers" category which
mentions all the user configurable parameters.
Therefore, I would say that the documentation is correct but the code
is not. Attached patch should fix this.
While on this, I also adjusted some of the wordings for the other
"Preset Options".
With Regards,
Bharath Rupireddy.
EnterpriseDB: http://www.enterprisedb.com
Attachment | Content-Type | Size |
---|---|---|
v1-0001-Move-server_encoding-server_encoding-lc_ctype-to-.patch | application/octet-stream | 3.4 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Devrim Gündüz | 2021-05-07 12:00:02 | Re: BUG #17001: YUM repository seems to be missing .asc file |
Previous Message | PG Bug reporting form | 2021-05-07 08:55:27 | BUG #17001: YUM repository seems to be missing .asc file |