How to get Agg attribute

From: "Zhe He" <henryhezhe2003(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: How to get Agg attribute
Date: 2008-09-16 16:03:52
Message-ID: d7ca04b40809160903n1a404de2tf704747eedad712c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,
I am implementing a new feature of postgres. The problem is
how to get the attribute of Aggregation. In
/src/backend/commands/explain.c,
I want to add a function after "case AGG_HASHED" to get the name
of this aggregation attribute in the table. How can I get it.

I tried to see (Agg *) plan)->grpColIdx, which just is a integer number.

Best Regards,
Zhe HE
TEL: (001) 646-789-3008
Address:965 Amsterdam Avenue,
New York, NY 10025

Master Student, CS Dept.
Columbia University
www.columbia.edu/~zh2132
-------------------------------------------
07 Alumni
Bachelor of Eng, BUPT
www.bupt.edu.cn

Browse pgsql-hackers by date

  From Date Subject
Next Message Joey K. 2008-09-16 16:17:12 84 Wishlist update
Previous Message Sushant Sinha 2008-09-16 16:00:06 Re: text search patch status update?