On Thu, Mar 12, 2020 at 04:27:54PM -0400, Richard Michael wrote: > > psql can't do it, but pygres can do it since last year. > > Thank you for mentioning it. Do you mean this: > https://github.com/rogamba/pygres ? Ugh, no. I'm referring to PyGreSQL, which was at one point a part of the postgres source tree. https://www.pygresql.org/ $ python -c "import pg; print(pg.DB('postgres').query('SELECT 1').getresult())" [(1,)] $ python -c "import pg; p=pg.DB('postgres'); p.prepare('q', 'SELECT 1'); print(p.query_prepared('q').getresult())" [(1,)] -- Justin (I'm having trouble believe someone made a project called "pygres", which uses python, postgres, and psycopg... Will mail D'Arcy)