Skip to content

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.

Where the book teaches it

Related terms

numerictimestamptz