How to get comments for view columns?

Поиск
Список
Период
Сортировка
От eugene.mindrov@gmail.com
Тема How to get comments for view columns?
Дата
Msg-id 1178121360.115175.234940@u30g2000hsc.googlegroups.com
обсуждение исходный текст
Ответы Re: How to get comments for view columns?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Ted Byers
Дата:
Сообщение: Re: Temporal Units
Следующее
От: Suresh Nimbalkar
Дата:
Сообщение: Password authentication failed