Re: python Backend message type 0x44 arrived while idle

From: Adam Haberlach <adam(at)newsnipple(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: python Backend message type 0x44 arrived while idle
Date: 2001-10-18 15:44:11
Message-ID: 20011018084411.A23398@newsnipple.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Oct 17, 2001 at 02:46:10PM -0700, Adam Haberlach wrote:
> I'm having trouble selecting "long" rows out of a database
> of email messages using python. I'm working on an IMAP server
> in python using Postgres as a backend datastore. All the
> code can be seen with a little poking around at
> http://zipcode.sourceforge.net but basically I'm just
> executing a query and it is blowing up.

Ah. Someone pointed out that threads could be the problem,
and they seem to be, since I've switched to a non-threaded
TCPServer and things work well.

...silly me for assuming thread safety in python libs...

--
Adam Haberlach | Computer science has the unfortunate characteristic
adam(at)newsnipple(dot)com| that many of the pioneers of the field are still
| alive and doing research.
| -- Adam Rifkin

In response to

Browse pgsql-general by date

  From Date Subject
Next Message rdack 2001-10-18 15:46:09 Re: can't create a database
Previous Message Steve Brett 2001-10-18 15:09:44 Re: URGENT: Index problems - update - please help ....