Re: A PGsendQuery API design for your review
От | Karl O. Pinc |
---|---|
Тема | Re: A PGsendQuery API design for your review |
Дата | |
Msg-id | 20160202154222.1e0fa114@slate.meme.com обсуждение исходный текст |
Ответ на | Re: A PGsendQuery API design for your review (Adrian Klaver <adrian.klaver@aklaver.com>) |
Список | psycopg |
On Tue, 2 Feb 2016 13:24:24 -0800 Adrian Klaver <adrian.klaver@aklaver.com> wrote: > On 02/02/2016 12:10 PM, Karl O. Pinc wrote: > > > > (Reminds me of an interaction I had with the Mozilla people. > > They'd changed Firefox so that a response had to show up > > within 5 minutes. My folks occasionally write queries > > that run hours. Mozilla changed their mind. Hope you will > > too.) > > Not sure that was a good idea, holding a resource open for hours to > do nothing seems counter-productive to me. That is what > LISTEN/NOTIFY, Websockets, name your async method, are for. I understand. On the other hand, there's maybe 2 people using the box at once. The limiting resource is programmer. Plain old http is dirt simple. Karl <kop@meme.com> Free Software: "You don't pay back, you pay forward." -- Robert A. Heinlein
В списке psycopg по дате отправления: