I have a sequence of string that vary a lot in length: from 30 to 282420 chars . I want to store each string into a postgres database using jdbc.
Strin
According to the Postgres character type documentation, text
is variable unlimited length
.
And further down:
... PostgreSQL provides the
text
type, which stores strings of any length.
However
According to the Postgres Wiki, there is a hard limit of 1GB for a single column value, so the practical limit for the "unlimited" length text
value is limited to 1GB by the architecture.