From: Alex <cdalxndr@yahoo.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Tatsuo Ishii <ishii@sraoss.co.jp>
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: Invalid idle_in_transaction_session_timeout data type
Date: Thu, 11 Mar 2021 21:34:31 +0000
Message-ID: <eb11dc69fdccb.1f6615ec2e0de@yahoo.com> (raw)
References: <11783b8644ae5.7f3aa1e3b18b4.ref@yahoo.com>
<11783b8644ae5.7f3aa1e3b18b4@yahoo.com>
<20210311.211047.1106690547580793701.t-ishii@gmail.com>
<c0e06b0927222.cf42cafcd23b9@yahoo.com>
<2294219.1615479605@sss.pgh.pa.us>
The following changes would make docs clear:
work_mem (numeric with memory unit)
statement_timeout (numeric with time unit)
,where "numeric with memory unit" and "numeric with time unit" are links
that point to "https://www.postgresql.org/docs/current/config-setting.html";
Tom Lane wrote:
[ redirecting to pgsql-docs ]
Alex <cdalxndr@yahoo.com <mailto:cdalxndr@yahoo.com> > writes:
In my opinion, it would be more clear if "Numeric with Unit" would be
specified on that property documentation, so that I can search more about
what that means (eventually a link pointing to details).
I saw "(integer)" so I assumed `show idle_in_transaction_session_timeout `
will return an integer.
This complaint isn't totally without merit. I wonder whether there is
any value in listing a unit-ized GUC's default unit as part of the
type info, so that we'd have entries like
work_mem (integer, kilobytes)
statement_timeout (integer, milliseconds)
That'd both provide some concrete info about which unit applies,
and cue unwary users that there might be more to it than just a
number.
I'm not sure whether this could replace the existing boilerplate
phrases about "If this value is specified without units, it is taken
as kilobytes", but it's sure more compact.
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 using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: cdalxndr@yahoo.com, tgl@sss.pgh.pa.us, ishii@sraoss.co.jp, pgsql-docs@lists.postgresql.org
Subject: Re: Invalid idle_in_transaction_session_timeout data type
In-Reply-To: <eb11dc69fdccb.1f6615ec2e0de@yahoo.com>
* 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