Re: Parser Modification Problem: Get the columns of a Table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Parser Modification Problem: Get the columns of a Table
Дата
Msg-id 24004.1070827834@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Parser Modification Problem: Get the columns of a Table  (NK <noc100@yahoo.gr>)
Список pgsql-hackers
NK <noc100@yahoo.gr> writes:
> Could you please tell me the way to take the names of the columns?

There is no way to do that in the grammar, because it doesn't have the
information available.

You could probably modify the insert-statement processing in analyze.c
to print out the column names, once it's matched up the raw parse tree
with information from the system catalogs.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: NK
Дата:
Сообщение: Parser Modification Problem: Get the columns of a Table
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: 7.4.1 ... slight change of scheduale ...