Add version information
This commit is contained in:
parent
3ea5cbdbe7
commit
7ddbb84dec
|
@ -5,6 +5,9 @@ import psycopg2
|
||||||
db = psycopg2.connect("")
|
db = psycopg2.connect("")
|
||||||
|
|
||||||
csr = db.cursor()
|
csr = db.cursor()
|
||||||
|
csr.execute("select version()")
|
||||||
|
for r in csr:
|
||||||
|
print(r[0])
|
||||||
csr.execute("drop table if exists t_pgcollate")
|
csr.execute("drop table if exists t_pgcollate")
|
||||||
csr.execute("create table t_pgcollate(t text)")
|
csr.execute("create table t_pgcollate(t text)")
|
||||||
for c in range(1, 0xD800):
|
for c in range(1, 0xD800):
|
||||||
|
|
Loading…
Reference in New Issue