doc sql-grant.html Synopsis error? - Mailing list pgsql-general

From jian he
Subject doc sql-grant.html Synopsis error?
Date
Msg-id CACJufxFjD1=HzPUYC=03G-iUPtj+_NYHD+qpSfPrjmPz3hyLPQ@mail.gmail.com
Whole thread Raw
Responses Re: doc sql-grant.html Synopsis error?
List pgsql-general

Hi.
--work as intended.
grant ALL PRIVILEGES on FUNCTION pg_catalog.pg_reload_conf() to test;
grant ALL PRIVILEGES on FUNCTION pg_reload_conf() to test;

-------------errors. it should be work, or I interpret the doc the wrong way?
GRANT ALL PRIVILEGES ON FUNCTION pg_reload_conf() IN SCHEMA pg_catalog TO test;
GRANT ALL PRIVILEGES ON FUNCTION pg_catalog.pg_reload_conf() IN SCHEMA pg_catalog TO test;

GRANT { EXECUTE | ALL [ PRIVILEGES ] }    ON { { FUNCTION | PROCEDURE | ROUTINE } routine_name [ ( [ [ argmode ] [ arg_name ] arg_type [, ...] ] ) ] [, ...]         | ALL { FUNCTIONS | PROCEDURES | ROUTINES } IN SCHEMA schema_name [, ...] }    TO role_specification [, ...] [ WITH GRANT OPTION ]    [ GRANTED BY role_specification ]
I am using postgres 16, but the grant function part does not change.
What did I miss?

pgsql-general by date:

Previous
From: Jerry Sievers
Date:
Subject: Re: pg_ctlcluster is not stopping cluster
Next
From: Achilleas Mantzios
Date:
Subject: Re: doc sql-grant.html Synopsis error?