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

From momjian@postgresql.org (Bruce Momjian - CVS)
Subject pgsql/src/interfaces/python pgdb.py
Date
Msg-id 20020424015831.57BB847589B@postgresql.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    momjian@postgresql.org    02/04/23 21:58:31

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

Log message:
    pgdb.connect() seems to be broken on Python 2.0.1 (which ships with
    Slackware 8), and perhaps on other Pythons, haven't checked.  Something in
    the _pg.connect() call isn't working.  I think the problem stems from the
    fact that 'host' is a named parameter of both _pg.connect and pgdb.connect,
    and so Python treats it as a variable assignment, not a named parameter.

    Uses non-named parameters.

    Andrew Johnson


pgsql-committers by date:

Previous
From: momjian@postgresql.org (Bruce Momjian - CVS)
Date:
Subject: pgsql/ /configure /configure.in rc/interfaces/ ...
Next
From: momjian@postgresql.org (Bruce Momjian - CVS)
Date:
Subject: pgsql/src backend/utils/adt/varlena.c include/ ...