Re: text fields and performance for ETL

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: text fields and performance for ETL
Дата
Msg-id 92af57f4ea8bda556ad821178f071d8d7daac66a.camel@cybertec.at
обсуждение исходный текст
Ответ на text fields and performance for ETL  (PG Doc comments form <noreply@postgresql.org>)
Список pgsql-docs
On Thu, 2021-11-11 at 09:44 +0000, Grega Jesih wrote:
> with this approach, why don't you eliminate char and varchar then ?
> Thanks for thinking over.

Two reasons:

- the SQL standard requires these types

- sometimes you want to enforce a length limit, and a "type modifier" like
  varchar(30) is cheaper than a check constraint

Yours,
Laurenz Albe




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

Предыдущее
От: PG Doc comments form
Дата:
Сообщение: Ltree pattern matching
Следующее
От: PG Doc comments form
Дата:
Сообщение: \dp privileges "decoder" dropped in v12 of docs