Hello Ray,

> You could use COMMENT ON instead:
> 
>  COMMENT ON function func_test(text, text)
>  IS '....loads of documentation here....';
> 
> Would this do the job?

Thank you for your input.

I know about the COMMENT ON function, as I use it for all other purposes, like 
documenting columns and other database objects. -

Within the function I can also put unlimited amount of documentation in the 
body of the plpgsql function to document the innards. This kind of comments get 
stored without problems.

But in order to have the documentation where it belongs to, it would be better 
to put the documentation for the argument list within the argument list, each 
comment to its argument. Let's assume you have 30 rather complex arguments or 
more you'll probably see my point - which might not be obvious in my simplified 
example.

Best regards,
   Ralph


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to