↑↓ select ↵ open ⌫ change scope Open full search

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

Functions / Geometric Functions And Operators

Converts two points to the line through them.

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

Signatures & examples

line ( point, point ) → line
Converts two points to the line through them.
line(point '(-1,0)', point '(1,0)') → {0,-1,0}
Version history 2
  1. 12 → 13 changed
  2. 9.3 → 9.4 added

Definition snapshot: b7bd9cda · English manual source