Re: A PGsendQuery API design for your review - Mailing list psycopg

From Karl O. Pinc
Subject Re: A PGsendQuery API design for your review
Date
Msg-id 20160202154222.1e0fa114@slate.meme.com
Whole thread Raw
In response to Re: A PGsendQuery API design for your review  (Adrian Klaver <adrian.klaver@aklaver.com>)
List 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 by date:

Previous
From: "Karl O. Pinc"
Date:
Subject: Re: A PGsendQuery API design for your review
Next
From: Adrian Klaver
Date:
Subject: Re: A PGsendQuery API design for your review