↑↓ 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 slope of a line drawn through the two points.

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

Signatures & examples

slope ( point, point ) → double precision
Computes slope of a line drawn through the two points.
slope(point '(0,0)', point '(2,1)') → 0.5
Version history 1
  1. 12 → 13 added

Definition snapshot: b7bd9cda · English manual source