pgdb.connect() seems to be broken on Python 2.0.1 (which ships with
authorBruce Momjian <bruce@momjian.us>
Wed, 24 Apr 2002 01:58:31 +0000 (01:58 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 24 Apr 2002 01:58:31 +0000 (01:58 +0000)
commitdfc750ebefa46ac02220052e791390f32c41ea89
treeb8f13e164d3560e8cdcf1a506d6f1f534879e627
parenta97286b03224e7c9e614075cec3dcce55a8338ed
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
src/interfaces/python/pgdb.py