]> granicus.if.org Git - postgresql/commit
Change the pkey method so that the caller can optionally set the dictionary
authorD'Arcy J.M. Cain <darcy@druid.net>
Mon, 25 Nov 2002 02:15:13 +0000 (02:15 +0000)
committerD'Arcy J.M. Cain <darcy@druid.net>
Mon, 25 Nov 2002 02:15:13 +0000 (02:15 +0000)
commita4bc5eeef2d7a405a062bb7a53ceee90f9ffc22a
tree75012807e4046d9628dba00f056ed2427629f261
parentf393ee06802c247faa53cde2ad947f5e96fb92f2
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.
src/interfaces/python/pg.py