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

From darcy@postgresql.org (D'Arcy Cain)
Subject pgsql-server/src/interfaces/python pgdb.py
Date
Msg-id 20021125031116.E3F48475BA0@postgresql.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    darcy@postgresql.org    02/11/24 22:11:16

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

Log message:
    I'm sending you a small patch to pgdb.py module.  This
    raises pgdb.DatabaseError when any of the fetch*
    methods was invoked but previous call to execute* did
    not produce any result set or no call was issued yet.
    Also, raises pgdb.NotSupportedError when .nextset() is
    invoked, instead of NameError.

    This behaviour complies with DB-API 2.0.

    Thanks for your work!

    Timur Irmatov.


pgsql-committers by date:

Previous
From: darcy@postgresql.org (D'Arcy Cain)
Date:
Subject: pgsql-server/src/interfaces/python pg.py
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql-server/src/backend/nodes copyfuncs.c equ ...