select open change scope Open full search

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

FUNCTIONS / AGGREGATE FUNCTIONS

Computes the minimum of the non-null input values.

Signatures & examples

min ( see text ) → same as input type
Computes the minimum of the non-null input values. Available for any numeric, string, date/time, or enum type, as well as bytea, inet, interval, money, oid, pg_lsn, tid, xid8, and also arrays and composite types containing sortable data types.
Version history 6
  1. PG 19 → 20changed
  2. PG 18 → 19changed
  3. PG 17 → 18changed
  4. PG 14 → 15changed
  5. PG 12 → 13changed
  6. PG 9.3 → 9.4changed

Definition snapshot: 2026-09-14T13:14:25.684213+00:00@99e6866c · English manual source