Skip to content

ayncpg error message #2325

@liquidsec

Description

@liquidsec

Periodically receiving this in stdout. Looks like its coming from crt module

[INFO] crt: Error retrieving results for upsells.boldapps.net: prepared statement "__asyncpg_stmt_1__" does not exist
HINT:  
NOTE: pgbouncer with pool_mode set to "transaction" or
"statement" does not support prepared statements properly.
You have two options:

* if you are using pgbouncer for connection pooling to a
  single server, switch to the connection pool functionality
  provided by asyncpg, it is a much better option for this
  purpose;

* if you have no option of avoiding the use of pgbouncer,
  then you can set statement_cache_size to 0 when creating
  the asyncpg connection object.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions