On 10.09.2021 00:41, Justin Pryzby wrote:
python3 -c "import pg; db=pg.DB('postgres'); q=db.query('SELECT 
array_agg(column_name) AS cols FROM information_schema.columns').getresult(); 
print(q[0][0][0])"

I think it should treat this as array[text] rather than text.

But I'm certain that it shouldn't cause errors in the logs:

Hi Justin, thanks for reporting. I filed an issue for this here: https://github.com/PyGreSQL/PyGreSQL/issues/65

-- Christoph
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo/pygresql

Reply via email to