我自己自定义了一个函数,函数体大致是这样的,
CREATE OR REPLACE FUNCTION "getCount"()
  RETURNS integer AS
$BODY$
declare 
  result integer;
begin
  select into result count(*)  result from "like";
  return result;
end;
$BODY$
  LANGUAGE plpgsql VOLATILE
  COST 100;
ALTER FUNCTION "getCount"()
  OWNER TO postgres;
问题来了,我该如何调用我自己的函数呢?
select getCount();  //错误:  函数 getcount() 不存在
execute getCount();  //错误:  语法错误 在 ")" 或附近的
用call好像没有这个关键字,请教各位专家,如何调用我自己定义的函数?,应该注意哪些问题?