3

what is difference between plpython, plpythonu, plpython2u.

What does u and 2u mean.

Looking around I could't find any info on that matter.

Milen A. Radev
  • 60,241
  • 22
  • 105
  • 110
user505160
  • 1,176
  • 8
  • 25
  • 44

1 Answers1

1

The PL/Python procedural language allows PostgreSQL functions to be written in the Python language. PL/Python2U untrusted procedural language

smn_onrocks
  • 1,282
  • 1
  • 18
  • 33
  • 2 means version I assume? (python2) – user505160 Jan 30 '14 at 14:03
  • what does plpythonu means? 2 or 3? – 1.618 Feb 12 '18 at 05:26
  • 1
    @1.618 according to the official postgresql docs: "The language named plpythonu implements PL/Python based on the default Python language variant, which is currently Python 2. (This default is independent of what any local Python installations might consider to be their “default”, for example, what /usr/bin/python might be.) The default will probably be changed to Python 3 in a distant future release of PostgreSQL, depending on the progress of the migration to Python 3 in the Python community." – misha Sep 06 '19 at 15:45