trouble with 'python' module -- v6.5.3

From: Jeff <jam(at)quark(dot)emich(dot)edu>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: trouble with 'python' module -- v6.5.3
Date: 2000-01-10 21:27:30
Message-ID: 20000110162730.C16873@quark.emich.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

greetings,

I am able to cause a coredump with the python module in the 6.5.3 release,
and I'm wondering if anyone can advise as to how best to fix this.

[jam(at)quark ~]$ python
Python 1.5.2 (#1, Sep 17 1999, 20:15:36) [GCC egcs-2.91.66 19990314/Linux
(egcs- on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import _pg
>>> db = _pg.connect("gfd")
>>> db.host
Segmentation fault (core dumped)

it does not cause a core dump if I call connect with the (optional I
thought) 'host' parameter:

[jam(at)quark ~]$ python
Python 1.5.2 (#1, Sep 17 1999, 20:15:36) [GCC egcs-2.91.66 19990314/Linux
(egcs- on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import _pg
>>> db = _pg.connect("gfd", "quark")
>>> db.host
'quark'

note that I also get a core dump when I attempt to create tables with a
python script (which I can post, if necessary).. not sure if that problem is
related or not, but it appears there's a structure not getting filled in
correctly.

any pointers or help appreciated.

regards,
J
--
|| visit gfd <http://quark.emich.edu/>
|| psa member -- <http://www.python.org/psa/>
|| New Image Systems & Services, Inc. <http://www.newimage.com/>

Browse pgsql-interfaces by date

  From Date Subject
Next Message Sergio A. Kessler 2000-01-10 22:16:27 Re: [INTERFACES] PostODBC 6.40.0006 to PostgreSQL 6.5.3 read only
Previous Message john huttley 2000-01-10 19:14:53 Re: [INTERFACES] DataSets in Delphi