没有函数匹配给定的名称和参数类型(PostgreSQL 10.3 -CentOs 7.4)

No function matches the given name and argument types (PostgreSQL 10.3 -CentOs 7.4)

我的功能在 SQL 管理器中执行时没有错误。 但是当我使用 Putty 和命令行时,我可以连接到我的数据库,但是当我尝试 运行 这个函数时:

CREATE OR REPLACE FUNCTION s_sco."Group" (
)
RETURNS void AS
$body$
BEGIN

INSERT INTO tab1 ("group", "Name", "creator", "dat", "mod", "datm")
select distinct tab2.SSI,tab2.LIB , '123456', CURRENT_TIMESTAMP, '', to_timestamp('01/01/1900','DD/MM/YYYY') from tab2 WHERE 
         NOT EXISTS (select group from tab1 where group IN 
         (select SSI from tab2));

END;

$body$
LANGUAGE 'plpgsql'
VOLATILE
CALLED ON NULL INPUT
SECURITY INVOKER
COST 100;

我一直收到这个错误:

Function () does not exist.
No function matches the given name and argument types. You might need to add explicit type casts. 

我注意到所有名称为大写字符的函数都会导致此错误,因此我将它们全部重命名为小写并且我不再有错误了。