↑↓ select ↵ open ⌫ change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Functions / System Information Functions And Operators

Returns the SQL name for a data type that is identified by its type OID and possibly a type modifier.

Reading PG 18current·documented in 23 of 27 versions, 8.0 to 20

Signatures & examples

format_type ( type oid, typemod integer ) → text
Returns the SQL name for a data type that is identified by its type OID and possibly a type modifier. Pass NULL for the type modifier if no specific modifier is known.
Version history 2
  1. 12 → 13 changed
  2. 7.4 → 8.0 added

Definition snapshot: b7bd9cda · English manual source