trouble with 'python' module -- v6.5.3

Поиск
Список
Период
Сортировка
От Jeff
Тема trouble with 'python' module -- v6.5.3
Дата
Msg-id 20000110162730.C16873@quark.emich.edu
обсуждение исходный текст
Список 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@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@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/>


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: "john huttley"
Дата:
Сообщение: Re: [INTERFACES] DataSets in Delphi
Следующее
От: "Sergio A. Kessler"
Дата:
Сообщение: Re: [INTERFACES] PostODBC 6.40.0006 to PostgreSQL 6.5.3 read only