Re: psycopg3 and cur.description behavior

2021-10-03 Thread Daniele Varrazzo
On Sun, 3 Oct 2021 at 18:35, Paolo De Stefani wrote: > By the way i didn't see any cur.mogrify() in psycopg 3 and no logging > cursor as well something i used frequently > Are they no more available ? Any plan to include them in next versions ? There is no mogrify, no, because queries are not co

Re: psycopg3 and cur.description behavior

2021-10-03 Thread Paolo De Stefani
Il 03/10/2021 17:33 Daniele Varrazzo ha scritto: On Sun, 3 Oct 2021 at 15:33, Paolo De Stefani wrote: Hello psycopg users This is my first post on this mailing list Hello Paolo, welcome here. In my python code i use the return query to create a dictionary in this way: session.update(dic

Re: psycopg3 and cur.description behavior

2021-10-03 Thread Daniele Varrazzo
On Sun, 3 Oct 2021 at 15:33, Paolo De Stefani wrote: > > Hello psycopg users > This is my first post on this mailing list Hello Paolo, welcome here. > In my python code i use the return query to create a dictionary in this > way: > > session.update(dict(zip([i[0] for i in cur.description], > cu