This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the
current
version, or one of the other supported versions listed above instead.
46.10. Python 2 vs. Python 3 #
PL/Python supports only Python 3. Past versions of PostgreSQL supported Python 2, using the plpythonu
and plpython2u
language names.