How to get comments for view columns? - Mailing list pgsql-general

From eugene.mindrov@gmail.com
Subject How to get comments for view columns?
Date
Msg-id 1178121360.115175.234940@u30g2000hsc.googlegroups.com
Whole thread Raw
Responses Re: How to get comments for view columns?
List pgsql-general
Hi,
is there any way to get comment meta-information for columns in a
view? I mean, suppose I have several tables and some of their columns
have comments, then I define a view on these tables, and what I want
is to somehow retrieve comments (if any) for those columns which are
selected in a view.
I tried to play with system catalog tables trying to dig out the
necessary info, but to no avail.
The best I could do is to retrieve all "dependent" columns (which
belong to underlying tables) for a view with their comments, but I
couldn't find any way to determine a relation between "dependent"
columns and those actually selected in a view.
So, is this an impossible task and should I invent my own meta-
dictionary or I'm missing something important?


pgsql-general by date:

Previous
From: Ted Byers
Date:
Subject: Re: Temporal Units
Next
From: Suresh Nimbalkar
Date:
Subject: Password authentication failed