Skip to content

Commit d9f3a0e

Browse files
authored
Merge pull request #129 from agiudiceandrea/patch-1
Patch 1
2 parents 5c586c1 + ac87058 commit d9f3a0e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ This plugin can be installed using the QGIS Plugin Manager.
4545

4646
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This plugin can be installed using the QGIS Plugin Manager.
3838

3939
- This plugin runs only with QGIS 3.x and Python 3.
4040
- pgRouting v3.x up and running to use this plugin.
41-
- Additionally, QGIS needs python-psycopg2 installed to be able to connect to the database.
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 pgr_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)