Thread: TEXT field size

TEXT field size

From
Antti Linno
Date:
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

From
"Richard Huxton"
Date:
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