Re: about client-side cursors - Mailing list psycopg

From Karsten Hilbert
Subject Re: about client-side cursors
Date
Msg-id YBrgZHfu4rBNFDLk@hermes.hilbert.loc
Whole thread Raw
In response to Re: about client-side cursors  (Christophe Pettus <xof@thebuild.com>)
Responses Re: about client-side cursors  (Christophe Pettus <xof@thebuild.com>)
List psycopg
Am Wed, Feb 03, 2021 at 08:27:49AM -0800 schrieb Christophe Pettus:

> > All in all, my main point is: (why) do we need client-side cursors?
>
> Well, the original source is:
>
>     https://www.python.org/dev/peps/pep-0249/
>
> There are many arguments that can be made against this API, but I think we're a bit stuck at this point.

Perhaps client-side cursors were invented to make it possible
to code to the same API regardless of whether real
(server-side) cursors are used or not ?

Karsten
--
GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B



psycopg by date:

Previous
From: Christophe Pettus
Date:
Subject: Re: about client-side cursors
Next
From: Daniele Varrazzo
Date:
Subject: Re: about client-side cursors