Обсуждение: TEXT field size

Поиск
Список
Период
Сортировка

TEXT field size

От
Antti Linno
Дата:
Hallo.

Maybe its not the right list, but does the Postgres 7.1 support now
unlimited text field? In previous versions it was limited to max 31k, or
even less, depending on the compilation etc.

Greetings,
Antti




Re: TEXT field size

От
"Richard Huxton"
Дата:
From: "Antti Linno" <alligator@all.ee>

> Hallo.
>
> Maybe its not the right list, but does the Postgres 7.1 support now
> unlimited text field? In previous versions it was limited to max 31k, or
> even less, depending on the compilation etc.

Yes - look for details of TOAST in the docs. Text fields can be effectively
unlimited and IIRC might even get compressed if circumstances look good.
There were some issues with old clients (ODBC/JDBC etc) not knowing this and
enforcing the old 8KB rule but I think they're probably updated now.

- Richard Huxton