PostgreSQL, psycopg2 and OID-less tables
Dale Strickland-Clark
dale at riverhall.nospam.co.uk
Fri Sep 15 10:12:17 EDT 2006
Now that OIDs have been deprecated in PostgreSQL, how do you find the key of
a newly inserted record?
I've tried three Python client libraries, including psycopg2, and where they
support cursor attribute 'lastrowid' (Python DB API 2.0), it is always
zero.
Anyone figured this out?
Thanks.
--
Dale Strickland-Clark
Riverhall Systems - www.riverhall.co.uk
More information about the Python-list
mailing list