small hint that probably helpful in most cases..
-- 
Regards,
        James William Pye
Index: aclchk.c
===================================================================
RCS file: /projects/cvsroot/pgsql-server/src/backend/catalog/aclchk.c,v
retrieving revision 1.104
diff -u -r1.104 aclchk.c
--- aclchk.c	18 Jun 2004 06:13:19 -0000	1.104
+++ aclchk.c	25 Aug 2004 19:33:22 -0000
@@ -760,7 +760,8 @@
 		if (!pg_language_tuple->lanpltrusted)
 			ereport(ERROR,
 					(errcode(ERRCODE_WRONG_OBJECT_TYPE),
-					 errmsg("language \"%s\" is not trusted", langname)));
+					 errmsg("language \"%s\" is not trusted", langname),
+					 errhint("only superusers may use untrusted languages")));
 
 		/*
 		 * Note: for now, languages are treated as owned by the bootstrap

Attachment: signature.asc
Description: This is a digitally signed message part



Reply via email to