>
> > 1) We can provide a feature to select the type of cursor that is not
> > much dissimilar from psycopg2
> > 2) Do we need DictCursor/RealDictCursor? ISTM that one of the two
> > would be sufficient? Possibly an object inheriting from a Python dict
> > instead of emulating it so that e.g. json.
On 08/02/21, Adrian Klaver (adrian.kla...@aklaver.com) wrote:
> On 2/8/21 4:16 AM, Daniele Varrazzo wrote:
> > 1) We can provide a feature to select the type of cursor that is not
> > much dissimilar from psycopg2
> > 2) Do we need DictCursor/RealDictCursor? ISTM that one of the two
> > would be s
On 2/8/21 4:16 AM, Daniele Varrazzo wrote:
Hello Denis,
In short: yes, I would like to provide alternative record factories.
We can review if the best way is to create cursor subclasses
out-of-the-box or mixins. In psycopg2 there are:
- DictCursor (returns a hybrid object between a sequence
On Mon, 8 Feb 2021 at 15:16, Denis Laxalde wrote:
>
> Daniele Varrazzo a écrit :
> > On Mon, 8 Feb 2021 at 12:14, Denis Laxalde wrote:
> >> - It seems to me that the conn-info developments work fine (also looked
> >> at the commits, which look fine as well to me): what needs to be done
> >> here?
On 08/02/21, Daniele Varrazzo (daniele.varra...@gmail.com) wrote:
> > - There appears to be no card about dictcursor on the project board.
> > What's the plan (and priority) for that (if any)?
...
> In psycopg2 there are:
>
> - DictCursor (returns a hybrid object between a sequence and a diction
Am Mon, Feb 08, 2021 at 01:16:43PM +0100 schrieb Daniele Varrazzo:
> 2) Do we need DictCursor/RealDictCursor?
For what it is worth, GNUmed does use DictConnection for all
its database needs.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
Daniele Varrazzo a écrit :
On Mon, 8 Feb 2021 at 12:14, Denis Laxalde wrote:
- It seems to me that the conn-info developments work fine (also looked
at the commits, which look fine as well to me): what needs to be done
here? Any help needed?
I can't remember what is missing: probably the inte
Hello Denis,
On Mon, 8 Feb 2021 at 12:14, Denis Laxalde wrote:
> I spent a bit of time looking around this last week.
Thank you very much, that's very appreciated :)
> The first thing I did was to try out psycopg3 on a (small) project I
> maintain (pg_activity). Porting from psycopg2 wasn't to
Hello Daniele,
Daniele Varrazzo a écrit :
If anyone would like to contribute, in ways other than funding, there
is also fun code to write (strictly typed, async, Cython if you wish)
and you are welcome to get in touch: I am sure there are practical
ways to contribute!
I spent a bit of time loo