updating to psycopg3

This commit is contained in:
Miguel Johnson 2024-08-05 14:21:26 -04:00
parent 548eb603ca
commit d919018f95
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ from locust import TaskSet, User, between, events, task
def create_conn(conn_string):
print("Connect and Query PostgreSQL")
conn = psycopg2.connect(conn_string)
conn = psycopg.connect(conn_string)
return conn