Glossary: PostgreSQL for Developers
cast
Also written: casting, ::, CAST
Converting a value to another type, written value::type or CAST(value AS type). For example '2026-10-21'::date turns text into a date.
Glossary: PostgreSQL for Developers
Also written: casting, ::, CAST
Converting a value to another type, written value::type or CAST(value AS type). For example '2026-10-21'::date turns text into a date.