Обсуждение: How to get Agg attribute

Поиск
Список
Период
Сортировка

How to get Agg attribute

От
"Zhe He"
Дата:
<div dir="ltr">Hi,<br />I am implementing a new feature of postgres. The problem is <br />how to get the attribute of
Aggregation. In /src/backend/commands/explain.c,<br />I want to add a function after  "case AGG_HASHED" to get the name
<br/> of this aggregation attribute in the table. How can I get it.<br /><br />I tried to see (Agg *)
plan)->grpColIdx,which just is a integer number.<br /><br clear="all" /> <br />Best Regards,<br />Zhe HE<br />TEL:
(001)646-789-3008<br /> Address:965 Amsterdam Avenue, <br />New York, NY 10025<br /><br />Master Student, CS Dept.<br
/>ColumbiaUniversity <br /><a href="http://www.columbia.edu/~zh2132">www.columbia.edu/~zh2132</a><br
/>-------------------------------------------<br/> 07 Alumni<br />Bachelor of Eng, BUPT <br /><a
href="http://www.bupt.edu.cn">www.bupt.edu.cn</a><br/></div>