Skip to content

Commit

Permalink
2.59: Fixed another bug with \dx+
Browse files Browse the repository at this point in the history
  • Loading branch information
wind39 committed Jun 13, 2018
1 parent bf89529 commit df33ba0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Spartacus/pgspecial/dbcommands.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ def _find_extensions(cur, pattern):
sql = 'SELECT e.extname, e.oid FROM pg_catalog.pg_extension e'

if pattern:
sql = cur.mogrify(sql + ' WHERE e.extname ~ %s', [pattern])

sql += ' ORDER BY 1'
sql = cur.mogrify(sql + ' WHERE e.extname ~ %s ORDER BY 1', [pattern])
else:
sql += ' ORDER BY 1'

log.debug(sql)
cur.execute(sql)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
long_description = open(os.path.join(rootdir, 'README')).read()

setup(name='Spartacus',
version='2.58',
version='2.59',
description='Generic database wrapper',
long_description=long_description,
url='http://github.com/wind39/spartacus',
Expand Down

0 comments on commit df33ba0

Please sign in to comment.