From dc2b32782a02458c7960202d33eb6b8c8feffd32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 21 Apr 2026 15:30:46 +0200 Subject: [PATCH] Do not pass the channel name as parameter to LISTEN call in the queue psycopg3 can not determine the data type. Closes #14792 --- trytond/trytond/ir/queue_.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trytond/trytond/ir/queue_.py b/trytond/trytond/ir/queue_.py index 2b9a52227c..e3044e570a 100644 --- a/trytond/trytond/ir/queue_.py +++ b/trytond/trytond/ir/queue_.py @@ -140,7 +140,7 @@ class Queue(ModelSQL): seconds, = row if not task_id and database.has_channel(): - cursor.execute('LISTEN "%s"', (cls.__name__,)) + cursor.execute('LISTEN "%s"' % cls.__name__) return task_id, seconds def run(self):