↑↓ 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 polygon to a closed path with the same list of points.

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

Signatures & examples

path ( polygon ) → path
Converts polygon to a closed path with the same list of points.
path(polygon '((0,0),(1,1),(2,0))') → ((0,0),(1,1),(2,0))
Version history 2
  1. 12 → 13 changed
  2. 8.2 → 8.3 changed

Definition snapshot: b7bd9cda · English manual source