Skip to content

[BUG] : psycopg2 is not async #23

@code-chaser

Description

@code-chaser

PROBLEM :

  • discord.py is an asynchronous library whereas psycopg2 (used here for SQL database integration) is synchronous.
  • A synchronous library should never be used with an async library for obvious reasons.

POSSIBLE WORKAROUND :

  • Use ayncpg :- async library for interacting with postgreSQL databases.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions