Relatively simple question about getting attributes from the where clause

Поиск
Список
Период
Сортировка
От tjlee0909@berkeley.edu
Тема Relatively simple question about getting attributes from the where clause
Дата
Msg-id 59868.136.152.171.59.1210313292.squirrel@calmail.berkeley.edu
обсуждение исходный текст
Список pgsql-hackers
Hi guys, I am new to postgres hacking, and I have the following question.
Say that someone executes a query:

SELECT * FROM user u, logins l WHERE u.id = l.id
(assume I have tables user, and logins, with id fields).

After this query has been parsed and created into a plan tree, how can I
get the char* form of the attribute name on which my WHERE clause searches
on (in this case, user.id and logins.id)?

Thanks a bunch guys-TJ





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

Предыдущее
От: KaiGai Kohei
Дата:
Сообщение: Re: [0/4] Proposal of SE-PostgreSQL patches
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: Auto-updated fields