mirror of
https://github.com/postgresml/pgcat.git
synced 2026-05-31 23:19:05 +00:00
Less dirty servers & fix python
This commit is contained in:
@@ -0,0 +1 @@
|
||||
venv/
|
||||
@@ -0,0 +1 @@
|
||||
psycopg2==2.9.3
|
||||
@@ -0,0 +1,9 @@
|
||||
import psycopg2
|
||||
|
||||
conn = psycopg2.connect("postgres://random:password@127.0.0.1:5433/db")
|
||||
cur = conn.cursor()
|
||||
|
||||
cur.execute("SELECT 123");
|
||||
res = cur.fetchall()
|
||||
|
||||
print(res)
|
||||
Reference in New Issue
Block a user