Re: [GENERAL] User defined cast creation

2013-07-05 Thread Pavel Stehule
Hello 2013/7/5 Arun P.L : > Hi friends, > > When I try to create a function which is used in user defined type cast I > get the following error, > > CREATE FUNCTION pg_catalog.text1(integer) RETURNS text STRICT IMMUTABLE > LANGUAGE SQL AS 'SELECT textin(int4out($1));'; > ERROR: permission denied

[GENERAL] User defined cast creation

2013-07-05 Thread Arun P . L
Hi friends, When I try to create a function which is used in user defined type cast I get the following error, CREATE FUNCTION pg_catalog.text1(integer) RETURNS text STRICT IMMUTABLE LANGUAGE SQL AS 'SELECT textin(int4out($1));'; ERROR: permission denied for schema pg_catalog I am not trying