[pgadmin-org/pgadmin4] 8ea334: Handle SQL_ASCII databases when running test cases.

From: Dave Page <noreply(at)github(dot)com>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: [pgadmin-org/pgadmin4] 8ea334: Handle SQL_ASCII databases when running test cases.
Date: 2023-05-16 03:50:15
Message-ID: pgadmin-org/pgadmin4/push/refs/heads/master/c06728-8ea334@github.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Branch: refs/heads/master
Home: https://github.com/pgadmin-org/pgadmin4
Commit: 8ea3346a9dc7fed882769b1644b53ca27cce02f2
https://github.com/pgadmin-org/pgadmin4/commit/8ea3346a9dc7fed882769b1644b53ca27cce02f2
Author: Dave Page <dpage(at)pgadmin(dot)org>
Date: 2023-05-16 (Tue, 16 May 2023)

Changed paths:
M web/regression/python_test_utils/test_utils.py

Log Message:
-----------
Handle SQL_ASCII databases when running test cases.

* Handle cases when psycopg returns bytes instead of a string.

See https://github.com/psycopg/psycopg/issues/561

* A more appropriate fix, suggested by Daniele Varrazzo

* Fix typo.

* Re-think this check. Our own driver effectively monkey-patches the psycopg encoding mappings.

Browse pgadmin-hackers by date

  From Date Subject
Next Message Yogesh Mahajan 2023-05-16 05:59:01 [pgadmin-org/pgadmin4] 30107e: Ensure that "pause replay of wal"/"resume replay o...
Previous Message dependabot[bot] 2023-05-15 16:14:50 [pgadmin-org/pgadmin4]