On 3/21/24 09:06, Jeff Ross wrote:
> Greetings!
>
> I posted a version of this to the pgsql-general mailing list yesterday.
> Since then I've narrowed down the error to this line:
>
> prod_database_connection.commit()
>
> so I believe this is psycopg2 related.
Does it work outside of plpython3u?
>
> This is on CentOS 7 and I'm using python3-psycopg2.x86_64 2.8.6-1.rhel7
> installed from yum.
psycopg2 is up to 2.9.9. You are missing ~3 years of fixes.
>
> makes me wonder if this error is specific to plpython3?
Hard to say as the other bug report you linked to seemed to refer to
plpythonu.
> Jeff
>
>
--
Adrian Klaver
adrian.klaver@aklaver.com