mirror of
https://github.com/matrix-org/synapse.git
synced 2025-06-25 20:56:12 +00:00
Another instance of psycopg2.
This commit is contained in:
parent
626f468155
commit
eb2b0dceb4
@ -1391,7 +1391,7 @@ def main() -> None:
|
||||
if "name" not in postgres_config:
|
||||
sys.stderr.write("Malformed database config: no 'name'\n")
|
||||
sys.exit(2)
|
||||
if postgres_config["name"] != "psycopg2":
|
||||
if postgres_config["name"] not in ("psycopg", "psycopg2"):
|
||||
sys.stderr.write("Database must use the 'psycopg2' connector.\n")
|
||||
sys.exit(3)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user