On 10/1/19 12:10 PM, Dale Arntson wrote:
Hi all,
Can anyone give me an update on the plans for psycopg2 support for
postgresql 12?
Not sure what you are looking for specifically, but:
In [11]: psycopg2.__version__
Out[11]: '2.8.3 (dt dec pq3 ext lo64)'
In [13]: con = psycopg2.connect("dbname=postgres user=postgres
host=localhost port=5435")
In [12]: con.server_version
Out[12]: 120000
In [14]: cur = con.cursor()
In [15]: cur.execute("select * from pg_class")
In [16]: rs = cur.fetchall()
In [17]: len(rs)
Out[17]: 395
Thanks,
-dale
--
Adrian Klaver
adrian.kla...@aklaver.com