Re: about client-side cursors

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: psycopg(at)lists(dot)postgresql(dot)org, psycopg(at)postgresql(dot)org
Subject: Re: about client-side cursors
Date: 2021-02-03 17:41:56
Message-ID: YBrgZHfu4rBNFDLk@hermes.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse psycopg by date

  From Date Subject
Next Message Daniele Varrazzo 2021-02-03 17:44:33 Re: about client-side cursors
Previous Message Christophe Pettus 2021-02-03 16:27:49 Re: about client-side cursors