Subject Re: [firebird-support] Re: What are the trade-offs of CHAR vs. VARCHAR?
Author Dimitry Sibiryakov
14.11.2019 20:29, Mark Rotteveel mark@... [firebird-support] wrote:
> Actually Dimitry, Steve was quoting from the Firebird 2.5 Language
> Reference:
> https://www.firebirdsql.org/file/documentation/reference_manuals/fblangref25-en/html/fblangref25-datatypes.html#fblangref25-dtyp-tbl-dtypinfo

I see. This mostly a translation problem. Original documentation says only "string is
right-padded with spaces to given length on display" and nothing about storage or network
transfer. Though "on display" here is also a strange expression. I'll point to it to he
author if he isn't reading this.

> That table contains some more problems, for example for VARCHAR it says
> the length is in "two trailing bytes".

It is also a translator's liberty.

--
WBR, SD.