[PyGreSQL] Is get_relations() method obsolete?
Marina Olhovsky
olhovsky at mshri.on.ca
Thu Dec 7 13:19:27 EST 2006
Hello,
Is get_relations() function obsolete? I tried using it in a Python script to retrieve a list of all sequences from a database, and I got an AttributeError:
Code:
-------------------------------------------------------------------------
import pg
db = pg.DB(my_dbname, my_host, my_port, None, None, my_user, my_passwd)
sequences = db.get_relations('S')
AttributeError: get_relations
-------------------------------------------------------------------------
I couldn't find this function anywhere in recent documentation.
TIA.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.vex.net/pipermail/pygresql/attachments/20061207/8190dfa2/attachment.html
More information about the PyGreSQL
mailing list