Search Postgresql Archives

Re: comments in argument list of plpgsql get stripped?

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

 



On 20/01/2012 17:28, Ralph Graulich wrote:
> Hi,
> 
> How can I store inline comments in the argument list of a plpgsql
> function to document complex overloaded functions with lots of
> arguments? It seems that PostgreSQL accepts the comments, but strips
> them as the function gets stored.

You could use COMMENT ON instead:

  COMMENT ON function func_test(text, text)
  IS '....loads of documentation here....';

Would this do the job?

Ray.

-- 
Raymond O'Donnell :: Galway :: Ireland
rod@xxxxxx

-- 
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