Skip to content

Commit c30bdf3

Browse files
Update pgRoutingLayer_utils.py
1 parent 5c586c1 commit c30bdf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)