Re: [HACKERS] COMMENT on function's arguments

2012-06-15 Thread Tom Lane
Robert Haas writes: > On Tue, Jun 12, 2012 at 10:59 PM, Vlad Arkhipov wrote: >> Does it make sense to have a comment on function's arguments? > This would be somewhat tricky, because our COMMENT support assumes > that the object upon which we're commenting has an ObjectAddress, and > individual

Re: [HACKERS] COMMENT on function's arguments

2012-06-14 Thread Robert Haas
On Tue, Jun 12, 2012 at 10:59 PM, Vlad Arkhipov wrote: > Does it make sense to have a comment on function's arguments? Of course it > is possible to include these comments in a function's comment, but may be > better to have them in more formalized way like comments on columns of a > table. IDEs m

[HACKERS] COMMENT on function's arguments

2012-06-12 Thread Vlad Arkhipov
Does it make sense to have a comment on function's arguments? Of course it is possible to include these comments in a function's comment, but may be better to have them in more formalized way like comments on columns of a table. IDEs may use this information when providing hints for a function