Do not pass the channel name as parameter to LISTEN call in the queue

psycopg3 can not determine the data type.

Closes #14792
(grafted from 7fc8e6a10574c04a074f55a8a4e56ec4e07efb74)

--HG--
branch : 8.0
This commit is contained in:
Cédric Krier
2026-04-21 15:30:46 +02:00
parent 7cfd5eba46
commit 321fd8d9ce
+1 -1
View File
@@ -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):