pgsql-server/src/interfaces/python pg.py

From: darcy(at)postgresql(dot)org (D'Arcy Cain)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src/interfaces/python pg.py
Date: 2002-11-25 02:15:17
Message-ID: 20021125021517.859D447592C@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: darcy(at)postgresql(dot)org 02/11/24 21:15:17

Modified files:
src/interfaces/python: pg.py

Log message:
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.

Browse pgsql-committers by date

  From Date Subject
Next Message D'Arcy Cain 2002-11-25 03:11:16 pgsql-server/src/interfaces/python pgdb.py
Previous Message D'Arcy Cain 2002-11-25 01:28:32 pgsql-server/src/interfaces/python pg.py