[HACKERS] Get Date value from Datum

2008-11-03 Thread Zhe He
Hi, I met some problem with get date type value from a table. I have a Datum which stores this value as an integer and I want to get its date value. Is there anyway that I can print it out? Best Regards, Zhe HE TEL: (001) 646-789-3008 Address:965 Amsterdam Avenue, New York, NY 10025 Master

[HACKERS] How to parse Datum

2008-11-02 Thread Zhe He
I met a problem with parsing Datum, is there any good way to parse this kind of value? Because I want to get the value in an attribute of a table. In TupleTableSlot, there is a tts_values which is Datum type. Does anyone know how to parse it? Best Regards, Zhe HE TEL: (001) 646-789-3008 Address

[HACKERS] Problem to get the tuple of a table

2008-10-14 Thread Zhe He
I'm currently implement a new operation in Postgres. If I want to get all tuples of a single attribute table to create an array defined by myself, how can I do that? -Zhe

[HACKERS] Question about implementing a new operation

2008-10-14 Thread Zhe He
I'm currently implement a new operation in Postgres. If I want to get all tuples of a single attribute table to create an array defined by myself, how can I do that? -Zhe -- Best Regards, Zhe HE TEL: (001) 646-789-3008 Address:965 Amsterdam Avenue, New York, NY 10025 Master Student, CS Dept

[HACKERS] Where is Aggregation Attribute

2008-09-17 Thread Zhe He
with */ long numGroups; /* estimated number of groups in input */ } Agg; -- 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

[HACKERS] How to get Agg attribute

2008-09-16 Thread Zhe He
)-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