pgRouting Manual (2.3)

pgr_version

«  Sample Data   ::   Contents   ::   pgRouting Data Types  »


pgr_version

Name

pgr_version — Query for pgRouting version information.

Synopsis

Returns a table with pgRouting version information.

table() pgr_version();

Description

Returns a table with:

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

History

  • New in version 2.0.0

Examples

  • Query for full version string
SELECT pgr_version();

                  pgr_version
-----------------------------------------------
 (2.2.0,pgrouting-2.2.0,9fd33c5,master,1.54.0)
(1 row)
  • Query for version and boost attribute
SELECT version, boost FROM pgr_version();

  version  | boost
-----------+--------
 2.2.0-dev | 1.49.0
(1 row)

See Also

«  Sample Data   ::   Contents   ::   pgRouting Data Types  »