From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: v.makarov@postgrespro.ru
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: [PATCH] Increase the maximum value track_activity_query_size
Date: Thu, 19 Dec 2019 10:59:27 -0500
Message-ID: <556.1576771167@sss.pgh.pa.us> (raw)
In-Reply-To: <20191219154110.GL30116@momjian.us>
References: <7b5ecc5a9991045e2f13c84e3047541d@postgrespro.ru>
<20191219154110.GL30116@momjian.us>
Bruce Momjian <bruce@momjian.us> writes:
> Good question. I am in favor of allowing a larger value if no one
> objects. I don't think adding the min/max is helpful.
I think there are pretty obvious performance and memory-consumption
penalties to very large track_activity_query_size values. Who exactly
are we really helping if we let them set it to huge values?
(wanders away wondering if we have suitable integer-overflow checks
in relevant code paths...)
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, bruce@momjian.us, v.makarov@postgrespro.ru
Subject: Re: [PATCH] Increase the maximum value track_activity_query_size
In-Reply-To: <556.1576771167@sss.pgh.pa.us>
References: <7b5ecc5a9991045e2f13c84e3047541d@postgrespro.ru> <20191219154110.GL30116@momjian.us> <556.1576771167@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