Re: A PGsendQuery API design for your review
От | Adrian Klaver |
---|---|
Тема | Re: A PGsendQuery API design for your review |
Дата | |
Msg-id | 56B11E88.1070404@aklaver.com обсуждение исходный текст |
Ответ на | Re: A PGsendQuery API design for your review ("Karl O. Pinc" <kop@meme.com>) |
Ответы |
Re: A PGsendQuery API design for your review
|
Список | psycopg |
On 02/02/2016 12:10 PM, Karl O. Pinc wrote: > On Tue, 2 Feb 2016 14:04:08 -0600 > "Karl O. Pinc" <kop@meme.com> wrote: > >> On Tue, 02 Feb 2016 19:58:16 +0100 >> Federico Di Gregorii <fog@dndg.it> wrote: >> >>> I can say with some confidence that we'll never implement such an >>> API. Even the >>> ux, i.e., accepting multi-queries from the user is wrong, imho. > >> Seriously, the real world is complex. > > (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. > > Regards, > > Karl <kop@meme.com> > Free Software: "You don't pay back, you pay forward." > -- Robert A. Heinlein > > -- Adrian Klaver adrian.klaver@aklaver.com
В списке psycopg по дате отправления: