postgres and python

后端 未结 4 1241
-上瘾入骨i
-上瘾入骨i 2021-02-18 16:45

In postgres 9.2 I am trying to create a python program that can be a trigger. I want to run an external program (an exe on the local disk) so I am using python to run it. Whe

4条回答
  •  借酒劲吻你
    2021-02-18 17:27

    To resolve this for plpython3, it was necessary to:

    • Install Python 3.2
    • Run CREATE LANGUAGE plpython3u

    Update: I've written a much better explanation here: https://stackoverflow.com/a/24218449/398670

提交回复
热议问题