From: nikolay.nikitin@infowatch.com
To: pgsql-bugs@postgresql.org
Subject: BUG #14694: Long binded parameter value in the postgres log
Date: Wed, 07 Jun 2017 07:25:25 +0000
Message-ID: <20170607072525.1452.3080@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 14694
Logged by: Nikolay Nikitin
Email address: nikolay.nikitin@infowatch.com
PostgreSQL version: 9.6.3
Operating system: Red Hat Enterprise Linux Server release 6.7
Description:
Hi!
We insert many rows with long text and bytea (about 500 MB) values. In the
postgres config we set log_min_duration_statement to 120 seconds.
If this statements work more 120 seconds then they will be written into the
postgres log with parameter values.
As a result, the postgres log increases by 500MB for each statement.
I think the postgres should have a "max bind value size" parameter. If a
bind value is bigger then this parameter, it will be truncated.
And in the log its real size and its truncated part will be written.
Regards,
Nikolay.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: nikolay.nikitin@infowatch.com
Subject: Re: BUG #14694: Long binded parameter value in the postgres log
In-Reply-To: <20170607072525.1452.3080@wrigleys.postgresql.org>
References: <20170607072525.1452.3080@wrigleys.postgresql.org>
* 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