↑↓ select↵ open⌫ change scopeOpen full search

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

Wiki / Functions

diagonal

Extracts box's diagonal as a line segment (same as lseg(box)).

English manual coverage begins with PostgreSQL 7.1. Source history and runtime observations have their own recorded version boundaries.

Reading PG 18·Select a recorded version

group
geometry
group label
Geometric Functions And Operators
lang
en
layout
table-new
pages
functions-geometry.html
prose only
false

Definition PG 18

Extracts box's diagonal as a line segment (same as lseg(box)).

Signatures and overloads

diagonal ( box ) → lseg → lseg
Extracts box's diagonal as a line segment (same as lseg(box)).

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · wiki-repair-20261023:4913d2453f3561fa31d26b3802c67e29252da006df67c46bb336f05911da76aa

Text language: en · wiki-repair-20261023:4913d2453f3561fa31d26b3802c67e29252da006df67c46bb336f05911da76aa