PostgreSQL: Running Python stored procedures as a normal user -


I have installed PL / Python on my postgresql server under PostGrace PVT:

  Netherlands = # programming language pliptonu; Make the language  

Now I need to allow, so that I can use it as a normal user:

  Netherlands = # language for Adam Provide all languages ​​in; Error: The language "pliphthonian" is not trusted Signal: Only superusers can use untrusted languages.  

I know that the dragon is not a 'trustworthy' language, but I am ready to take my chance here. Any way to explain PostgreSQL to run Python stored procedures as a normal user?

  update Pg_language SET lanpltrusted = true where lanname = 'plpythonu';  

Comments