function to_char - Mailing list pgsql-bugs

From Fontana Daniel C. \(Desartec S.R.L.\)
Subject function to_char
Date
Msg-id 001b01d7339a$c42a84e0$4c7f8ea0$@gmail.com
Whole thread Raw
Responses Re: function to_char  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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?

 




Avast logo

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


pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #16969: INSERT of multiple rows into GENERATED ALWAYS AS IDENTITY column with DEFAULT value is broken.
Next
From: Tom Lane
Date:
Subject: Re: function to_char