RefLib

Reference library for AI

Back

postgresql_16:9.6.21.2 Casts

PostgreSQL 16 > Appendixes > Additional Supplied Modules and Extensions > isn — data types for international standard numbers (ISBN, EAN, UPC, etc.) > Casts

The isn module provides the following pairs of type casts:

When casting from EAN13 to another type, there is a run-time check that the value is within the domain of the other type, and an error is thrown if not. The other casts are simply relabelings that will always succeed.

Back