Change the pkey method so that the caller can optionally set the dictionary

D'Arcy J.M. Cain <darcy@druid.net>

Commit: a4bc5eeef2d7a405a062bb7a53ceee90f9ffc22a
Author: D'Arcy J.M. Cain <darcy@druid.net>
Date: 2002-11-25T02:15:13Z
Releases: 7.4.1
Change the pkey method so that the caller can optionally set the dictionary
used for the primary key lookup.  This will prevent a database lookup
for each connection object that gets created.  This could be a significant
optimization on a busy system.

Similarly, the get_attnames method allows for the attributes dictionary
to be installed directly.

Files

PathChange+/−
src/interfaces/python/pg.py modified +35 −14