| From: | Gokulakannan Somasundaram <gokul007(at)gmail(dot)com> |
|---|---|
| To: | pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Bug in 9.0Alpha4 |
| Date: | 2010-03-16 11:49:55 |
| Message-ID: | 9362e74e1003160449r5d9d3b5o5d0e376afb739088@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi,
I noticed a problem with the source code of 9.0Alpha 4. In parse_agg.c,
there is a call made to transformSortClause.
00098 torder = transformSortClause
<http://doxygen.postgresql.org/parse__clause_8c.html#53199c36a198b5acf15a26fbd7311f79>(pstate,
00099 agg->aggorder
<http://doxygen.postgresql.org/structAggref.html#f477b6dc44bd60585cabf8608dcf2047>,
00100 &tlist,
00101 true /* fix unknowns */ ,
00102 true /* force SQL99 rules */ );
00103
Here agg->aggorder should be a List of SortGroupClause pointers, whereas
transformSortClause expects the second argument as a list of SortBy
pointers. I verified the doxygen code by downloading the 9.0alpha4 version.
I am trying to understand this piece of code, while i thought i should
report this bug.
Thanks,
Gokul.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Albe Laurenz | 2010-03-16 12:04:52 | Re: [RFC] Comments on PostPic project - Repost |
| Previous Message | Heikki Linnakangas | 2010-03-16 09:11:56 | Re: Streaming replication, and walsender during recovery |