Search Postgresql Archives

Re: comments in argument list of plpgsql get stripped?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux