DROP VIEW hangs (with view locked!) in postgres
... even though equivalent code works fine in psycopg2
this works ok:
conn = psycopg2.connect("dbname='catherine' user='jrrt' host='localhost' password='jrrt'")
curs = conn.cursor()
curs.execute('drop view feeshies3', {})
same code from sqlpython,
in default(self, arg) in sqlpython.py, line 357, hangs
(totally paralyzed until shell-level session is quit)
this works ok:
conn = psycopg2.connect("dbname='catherine' user='jrrt' host='localhost' password='jrrt'")
curs = conn.cursor()
curs.execute('drop view feeshies3', {})
same code from sqlpython,
in default(self, arg) in sqlpython.py, line 357, hangs
(totally paralyzed until shell-level session is quit)
Leave a comment