Re: python Backend message type 0x44 arrived while idle

Поиск
Список
Период
Сортировка
От Adam Haberlach
Тема Re: python Backend message type 0x44 arrived while idle
Дата
Msg-id 20011018084411.A23398@newsnipple.com
обсуждение исходный текст
Ответ на python Backend message type 0x44 arrived while idle  (Adam Haberlach <adam@newsnipple.com>)
Список 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@newsnipple.com| that many of the pioneers of the field are still
                   | alive and doing research.
                   |        -- Adam Rifkin

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

Предыдущее
От: "Holt, Jack C."
Дата:
Сообщение: Accessing PostgreSQL through Apache and PHP4 on Linux
Следующее
От: Gordan Bobic
Дата:
Сообщение: Re: FTI Queries and Explain (long)