]>
git.datanom.net - pwp.git/blob - app/DB/postgres.py
ce2ef23db2214ec74237e792b602c635fcd578e9
5 def __init__(self
, database
, user
, password
, host
, port
):
9 self
.conn
= psycopg2
.connect("dbname=%s user=%s password=%s host=%s port=%d" % (database
, user
, password
, host
, port
))
10 except psycopg2
.Error
as e
:
This page took 0.056187 seconds and 4 git commands to generate.