pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #15542: value too long for type character varying does not show the real parameter value
2+ messages / 2 participants
[nested] [flat]

* BUG #15542: value too long for type character varying does not show the real parameter value
@ 2018-12-07 14:07  PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Bug reporting form @ 2018-12-07 14:07 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: lindner@visionet.de

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.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #15542: value too long for type character varying does not show the real parameter value
@ 2018-12-07 14:32  Sergei Kornilov <sk@zsrv.org>
  parent: PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Sergei Kornilov @ 2018-12-07 14:32 UTC (permalink / raw)
  To: lindner@visionet.de <lindner@visionet.de>; pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>

Hello

Yes, this is known limitation. We can not print parameters if query was terminated.
I would like to fix this, but have no idea on proper design.

regards, Sergei




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-12-07 14:32 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-12-07 14:07 BUG #15542: value too long for type character varying does not show the real parameter value PG Bug reporting form <noreply@postgresql.org>
2018-12-07 14:32 ` Sergei Kornilov <sk@zsrv.org>

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