↑↓ select ↵ open ⌫ change scope Open full search

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

Functions / Geometric Functions And Operators

Computes area.

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

Signatures & examples

area ( geometric_type ) → double precision
Computes area. Available for box, path, circle. A path input must be closed, else NULL is returned. Also, if the path is self-intersecting, the result may be meaningless.
area(box '(2,2),(0,0)') → 4
Version history 2
  1. 12 → 13 changed
  2. 7.3 → 7.4 changed

Definition snapshot: b7bd9cda · English manual source