[DB-SIG] Again

Eivind Tagseth eivindt-db-sig at multinet.no
Wed Sep 10 11:25:51 EDT 2003

* james at digconn.co.uk <james at digconn.co.uk> [030910 08:21]:
> can someone please tell me what i'm mean't to do when i get this message:
> <built-in method fetchall of cursor object at 0x015AF7A0>
> My code leading up to this is:
> db = psycopg.connect('host=localhost dbname=dataname user=postgres')
> cursor=db.cursor()
> cursor.execute('SELECT * FROM "RingInfo"')
> cursor.fetchall

You're printing the method, no calling it.  Try cursor.fetchall()


More information about the DB-SIG mailing list