pgsql/src/interfaces/python pgdb.py

From: momjian(at)postgresql(dot)org (Bruce Momjian - CVS)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/interfaces/python pgdb.py
Date: 2002-04-24 01:58:31
Message-ID: 20020424015831.57BB847589B@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql
Changes by: momjian(at)postgresql(dot)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

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2002-04-24 02:12:53 pgsql/src backend/utils/adt/varlena.c include/ ...
Previous Message Bruce Momjian - CVS 2002-04-24 01:56:20 pgsql/ /configure /configure.in rc/interfaces/ ...