Jasbinder Bali wrote:
    CREATE FUNCTION command(integer) RETURNS integer
     AS 'usr/include/pgsql/server/test_func', 'command'
     LANGUAGE C STRICT;

when i try to run this function, always gives me the follwoing error:

ERROR: could not access file "usr/include/pgsql/server/test_func": No such file or directory

Should 'usr/include/pgsql/server/test_func' actually be '/usr/include/pgsql/server/test_func'?

Note the leading '/'

HTH,

Joe

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
      choose an index scan if your joining column's datatypes do not
      match

Reply via email to