getting a "prepared statement error" in asyncpg
I am trying work with some data from a PostgreSQL server,by using Connection Pools. There's a caveat mentioning this issue and it's apparently due to using the 'pgbouncer' tool However, I am using the createpool() function to get the connection object: self.pg_con=await asyncpg.create_pool(dsn=dsn,database=db,user=user,password=_db_pass) Traceback (most recent call last): File "C:\Users\User\Desktop\Py-Workspace\env\lib\site-packages\discord\client.py", line 270, in _run_event await coro(*args, **kwargs) File "C:\Users\User\Desktop\Py-Workspace\cogs\levels_3.py", line 40, in on_message user=aw
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.