function to_char

From: "Fontana Daniel C(dot) \(Desartec S(dot)R(dot)L(dot)\)" <desartecsrl(at)gmail(dot)com>
To: <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: function to_char
Date: 2021-04-17 15:03:02
Message-ID: 001b01d7339a$c42a84e0$4c7f8ea0$@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi, using postgres 12.5.

The to_char function has a problem with format length.

Example, select length (to_char (1, '990'))

returns 4 because?

if the format has length 3?

--
El software de antivirus Avast ha analizado este correo electrónico en busca de virus.
https://www.avast.com/antivirus

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2021-04-17 15:09:53 Re: function to_char
Previous Message PG Bug reporting form 2021-04-17 11:18:38 BUG #16969: INSERT of multiple rows into GENERATED ALWAYS AS IDENTITY column with DEFAULT value is broken.