Skip to content

Commit e8c1213

Browse files
authored
Merge pull request #130 from pgRouting/develop
Develop to Master
2 parents d86fed2 + d9f3a0e commit e8c1213

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ This plugin can be installed using the QGIS Plugin Manager.
4343

4444
### Dependencies
4545

46-
pgRouting v2.x up and running to use this plugin.
46+
pgRouting v3.x up and running to use this plugin.
4747

48-
Additionally, QGIS needs python-psycopg2 installed to be able to connect to the database.
48+
Additionally, QGIS needs python3-psycopg2 installed to be able to connect to the database.

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ This plugin can be installed using the QGIS Plugin Manager.
3737
### Dependencies
3838

3939
- This plugin runs only with QGIS 3.x and Python 3.
40-
- pgRouting v2.x up and running to use this plugin.
41-
- Additionally, QGIS needs python-psycopg2 installed to be able to connect to the database.
40+
- pgRouting v3.x up and running to use this plugin.
41+
- Additionally, QGIS needs python3-psycopg2 installed to be able to connect to the database.
4242

4343
## Links
4444

pgRoutingLayer_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def getPgrVersion(con):
129129
''' returns version of PostgreSQL database. '''
130130
try:
131131
cur = con.cursor()
132-
cur.execute('SELECT version FROM pgr_version()')
132+
cur.execute('SELECT version FROM pgr_full_version()')
133133
row = cur.fetchone()[0]
134134
versions = ''.join([i for i in row if i.isdigit()])
135135
version = versions[0]

0 commit comments

Comments
 (0)