type
TEXT
PostgreSQL variable-length text without a declared length bound; practical storage limits still apply. Use a constraint if a business maximum matters. Example target: PostgreSQL 17. Run in a disposable database; examples need no existing tables.
Formal Syntax & Structure
sql syntaxsql
TEXTWorking Example
Example Snippetsql
SELECT CAST('Notebook' AS TEXT);