pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: lindner@visionet.de
Subject: BUG #15542: value too long for type character varying does not show the real parameter value
Date: Fri, 07 Dec 2018 14:07:57 +0000
Message-ID: <15542-7dc43fbccd530d89@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15542
Logged by:          Stefan Lindner
Email address:      lindner@visionet.de
PostgreSQL version: 10.6
Operating system:   CentOS 7.5, official docker container postgres:10
Description:        

2018-12-07 13:47:48.047 UTC [63] ERROR:  22001: value too long for type
character varying(6)
2018-12-07 13:47:48.047 UTC [63] LOCATION:  varchar, varchar.c:624
2018-12-07 13:47:48.047 UTC [63] STATEMENT:  update visionet_berechnung set
adresse=$1, anmerkungen=$2, ANREDE_IN_VERSAND_E_MAIL=$3, datum=$4, kunde=$5,
MANUELLER_TEXT_AUF_BERECHNUNG=$6, steuersatz=$7, stundensatz=$8,
VERSAND_PER_E_MAIL_AN=$9, zusammenfassung=$10, aktualisierungsdatum=$11,
loesch_datum=$12, loesch_erklaerung=$13, nettosumme=$14, nummer=$15,
pdf=$16, prozent_abgerechnet=$17, status=$18, steuer=$19, summe=$20,
tex_code=$21, versandinformation=$22, versanddatum=$23 where id=$24

even having set parameters
   log_statement=all
   log_error_verbosity=VERBOSE
the value for column with more than 6 characters is not shown.

In all other logged queries before there ware lines like
   DETAIL:  parameters: $1 = '13533', $2 = 't', $3 = '257', $4 = '28', $5 =
'1298'
and so on. But not  for the erroneous statement.



view thread (2+ messages)  latest in thread

Message-ID: <15542-7dc43fbccd530d89@postgresql.org>
Permalink:  ../15542-7dc43fbccd530d89@postgresql.org/
Also on:    postgresql.org/message-id/15542-7dc43fbccd530d89@postgresql.org

 · 

reply

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: noreply@postgresql.org, lindner@visionet.de
  Subject: Re: BUG #15542: value too long for type character varying does not show the real parameter value
  In-Reply-To: <15542-7dc43fbccd530d89@postgresql.org>
  References: <15542-7dc43fbccd530d89@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