Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. db1 = psycopg2.connect(database='postgres', user='operator', password='1234', host='localhost', port='2280')
  2. cursor = db1.cursor()
  3. sql = """CREATE SCHEMA app_tools AUTHORIZATION operator;"""
  4. cursor.execute(sql)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement