Add version information

This commit is contained in:
Peter J. Holzer 2020-08-21 00:24:26 +02:00
parent 3ea5cbdbe7
commit 7ddbb84dec
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,9 @@ import psycopg2
db = psycopg2.connect("")
csr = db.cursor()
csr.execute("select version()")
for r in csr:
print(r[0])
csr.execute("drop table if exists t_pgcollate")
csr.execute("create table t_pgcollate(t text)")
for c in range(1, 0xD800):