Re: A PGsendQuery API design for your review

From: "Karl O(dot) Pinc" <kop(at)meme(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: Federico Di Gregorii <fog(at)dndg(dot)it>, psycopg(at)postgresql(dot)org
Subject: Re: A PGsendQuery API design for your review
Date: 2016-02-02 21:42:22
Message-ID: 20160202154222.1e0fa114@slate.meme.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

On Tue, 2 Feb 2016 13:24:24 -0800
Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)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(at)meme(dot)com>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein

In response to

Browse psycopg by date

  From Date Subject
Next Message Adrian Klaver 2016-02-02 21:47:51 Re: A PGsendQuery API design for your review
Previous Message Karl O. Pinc 2016-02-02 21:30:03 Re: A PGsendQuery API design for your review