↑↓ select↵ open⌫ change scopeOpen full search

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

Wiki / Functions

npoints

Returns the number of points. Available for path, polygon.

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

Returns the number of points. Available for path, polygon.

Signatures and overloads

npoints ( geometric_type ) → integer → integer
Returns the number of points. Available for path, polygon.

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · wiki-repair-20261023:2063704244ec84bc5395c4c680dd6be2d1de3a67a3af62d997537d5de4546d2f

Text language: en · wiki-repair-20261023:2063704244ec84bc5395c4c680dd6be2d1de3a67a3af62d997537d5de4546d2f