Problems with listen / notify

Поиск
Список
Период
Сортировка
От Rafael Martinez
Тема Problems with listen / notify
Дата
Msg-id 53A19ED6.20806@usit.uio.no
обсуждение исходный текст
Ответы Re: Problems with listen / notify  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Список psycopg
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello

I am experiencing some strange behaviour with listen/notify via psycopg2.

When executing multiple notifies in a server *without* problems, a
python script gets all notifies defined in a period of time in one
poll() call (as expected)

But when running the same code against a server *with* problems, the
python script gets only one notify per poll() call.

Check http://pastebin.com/9itGKxJR for details of the two runs and the
python code used for this test.

postgreSQL version: 9.2.8
python 2.6.6 (RHEL6)
psycopg version: 2.5.3-1.rhel6

Any ideas about why this is happening?
Thanks in advance.

regards
- --
 Rafael Martinez Guerrero
 Center for Information Technology
 University of Oslo, Norway

 PGP Public Key: http://folk.uio.no/rafael/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAlOhntYACgkQBhuKQurGihSZMACeMhwVvHMuk2Qm3BgXpW/r5cFb
fsEAn3IfIkr/rECFZ3mJ4NbagoGBx7fL
=VucW
-----END PGP SIGNATURE-----


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: PgBouncer doubts
Следующее
От: Karsten Hilbert
Дата:
Сообщение: Re: Problems with listen / notify