Re: The same result for with SPACE and without SPACE

Поиск
Список
Период
Сортировка
От M Sarwar
Тема Re: The same result for with SPACE and without SPACE
Дата
Msg-id DM4PR19MB5978A5CC04E91426AB4E7782D35BA@DM4PR19MB5978.namprd19.prod.outlook.com
обсуждение исходный текст
Ответ на Re: The same result for with SPACE and without SPACE  (Scott Ribe <scott_ribe@elevated-dev.com>)
Список pgsql-admin
Yes, This is what I am understanding.
I am in the database administration for couple of decades but never realized this intricacies.
Probably this is more known in the development side. I am learning now 🙂
Thank you,


From: Scott Ribe <scott_ribe@elevated-dev.com>
Sent: Wednesday, June 14, 2023 6:54 PM
To: M Sarwar <sarwarmd02@outlook.com>
Cc: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Re: The same result for with SPACE and without SPACE
 
One more followup comment: CHAR is rather an archaic vestige, from a time when fixed-length vs variable-length might measurably improve performance somewhere, or removing the requirement to store a length with every instance might help with space requirements. There is really almost no anymore to ever use it for fixed length strings. There is *NO* good reason that I know of to ever use it for values which are not actually fixed-length, that is assuredly a mistake.

В списке pgsql-admin по дате отправления:

Предыдущее
От: M Sarwar
Дата:
Сообщение: Re: The same result for with SPACE and without SPACE
Следующее
От: M Sarwar
Дата:
Сообщение: Re: The same result for with SPACE and without SPACE