![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
http://www.faqs.org/docs/ppbook/r24435.htm -----Original Message----- From: Chris Albertson [mailto:chrisalbertson90278 (AT) yahoo (DOT) com] Sent: Tuesday, July 01, 2003 4:45 PM To: pgsql-general (AT) postgresql (DOT) org Subject: [GENERAL] ERROR: language "c" is not trusted I do the following as the user "postgres" alberts=# CREATE FUNCTION foobar(CSTRING) alberts-# RETURNS opaque alberts-# AS '$libdir/mystuff' , 'foobar' alberts-# LANGUAGE 'c' alberts-# WITH (isstrict,iscachable); CREATE FUNCTION Next I'd like to be able to use the funtion as a "normal" user so I thy this: grant USAGE ON LANGUAGE c TO alberts; ERROR: language "c" is not trusted OK, now what? |
#3
| |||
| |||
|
|
Thanks for the hint. This fixed it: alberts=# UPDATE pg_language SET lanpltrusted = true WHERE lanname = 'c'; UPDATE 1 alberts=# grant USAGE ON LANGUAGE c TO alberts; GRANT |
![]() |
| Thread Tools | |
| Display Modes | |
| |