From 7ddbb84deca22509aa696c0f85faf7d618b2e50b Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Fri, 21 Aug 2020 00:24:26 +0200 Subject: [PATCH] Add version information --- pgcollate | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pgcollate b/pgcollate index 5bca5c3..af9a672 100755 --- a/pgcollate +++ b/pgcollate @@ -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):