pgsql-server/src/interfaces/python pg.py - Mailing list pgsql-committers

From darcy@postgresql.org (D'Arcy Cain)
Subject pgsql-server/src/interfaces/python pg.py
Date
Msg-id 20021125021517.859D447592C@postgresql.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    darcy@postgresql.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.


pgsql-committers by date:

Previous
From: darcy@postgresql.org (D'Arcy Cain)
Date:
Subject: pgsql-server/src/interfaces/python pg.py
Next
From: darcy@postgresql.org (D'Arcy Cain)
Date:
Subject: pgsql-server/src/interfaces/python pgdb.py