↑↓ 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 center point.

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

Signatures & examples

center ( geometric_type ) → point
Computes center point. Available for box, circle.
center(box '(1,2),(0,0)') → (0.5,1)
Version history 2
  1. 12 → 13 changed
  2. 7.3 → 7.4 changed

Definition snapshot: b7bd9cda · English manual source