Re: Attach comments to functions' parameters and return value - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Attach comments to functions' parameters and return value
Date
Msg-id 20150914180251.GD55767@alvherre.pgsql
Whole thread Raw
In response to Re: Attach comments to functions' parameters and return value  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Responses Re: Attach comments to functions' parameters and return value  (Charles Clavadetscher <clavadetscher@swisspug.org>)
List pgsql-hackers
Jim Nasby wrote:
> On 9/14/15 8:59 AM, Charles Clavadetscher wrote:

> >To long time PostgreSQL developers this may look straightforward. For the
> >moment I am not even sure if that is correct and if there are other places
> >that would need additions, apart from the obvious display in psql.
> 
> I suspect that changes to support this should be pretty localized. I suggest
> you look at other recent patches that have added COMMENT functionality to
> see what they did.

This sequence of commits may be helpful.
http://git.postgresql.org/gitweb/?p=postgresql.git;a=history;f=src/test/regress/sql/object_address.sql;hb=HEAD

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: WIP: Make timestamptz_out less slow.
Next
From: Teodor Sigaev
Date:
Subject: Re: [PROPOSAL] Covering + unique indexes.