pgr_version

pgr_version — Query for pgRouting version information.

Availability

  • New in version 2.0.0

Description

Returns a table with pgRouting version information.

table() pgr_version();

Result Columns

Returns a table with:

Column Type Description
version varchar pgRouting version
tag varchar Git tag of pgRouting build
hash varchar Git hash of pgRouting build
branch varchar Git branch of pgRouting build
boost varchar Boost version

Additional Examples

  • Query for the version string
SELECT version FROM pgr_version();
 version
---------
 3.0.0
(1 row)

See Also

Indices and tables