Skip to content

Glossary: PostgreSQL for Developers

varchar

Also written: char, varchar(n), char(n)

varchar(n) is text limited to n characters; char(n) is text of exactly n characters, for fixed codes such as a state. text has no limit and is the usual choice.

Where the book teaches it

Related terms

texttype