Michael Herold <quabla(at)hemio(dot)de> writes:
>> I suspect you were expecting the comment to be displayed in some place
>> it isn't, but that's hard to discuss intelligently when you didn't say
>> where you expected it to show up.
> $ pgAdmin III
> Before `comment on constraint` the textarea for comment is empty and no
> statement for comment in SQL pane.
> Afterwards it is using 'test comment 2'.
Well, you should take that up with the pgAdmin crew, but I'd note that
a comment on a constraint and a comment on the index underlying the
constraint are two different things.
regards, tom lane