↑↓ select ↵ open ⌫ change scope Open full search

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

Functions / Geometric Functions And Operators

Extracts box's diagonal as a line segment.

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

Signatures & examples

lseg ( box ) → lseg
Extracts box's diagonal as a line segment.
lseg(box '(1,0),(-1,0)') → [(1,0),(-1,0)]
lseg ( point, point ) → lseg
Constructs line segment from two endpoints.
lseg(point '(-1,0)', point '(1,0)') → [(-1,0),(1,0)]
Version history 2
  1. 12 → 13 changed
  2. 7.3 → 7.4 changed

Definition snapshot: b7bd9cda · English manual source