postgresql_16:3.7 Type Conversion
PostgreSQL 16 > The SQL Language > Type Conversion
SQL statements can, intentionally or not, require the mixing of different data types in the same expression. PostgreSQL has extensive facilities for evaluating mixed-type expressions.
In many cases a user does not need to understand the details of the type conversion mechanism. However, implicit conversions done by PostgreSQL can affect the results of a query. When necessary, these results can be tailored by using *explicit* type conversion.
This chapter introduces the PostgreSQL type conversion mechanisms and conventions. Refer to the relevant sections in (see postgresql_16:3.5) and (see postgresql_16:3.6) for more information on specific data types and allowed functions and operators.
Subsections
- postgresql_16:3.7.1 Overview
- postgresql_16:3.7.2 Operators
- postgresql_16:3.7.3 Functions
- postgresql_16:3.7.4 Value Storage
- postgresql_16:3.7.5
UNION,CASE, and Related Constructs - postgresql_16:3.7.6
SELECTOutput Columns