Hi,<br /> I noticed a problem with the source code of 9.0Alpha 4. In parse_agg.c, there is a call made to
transformSortClause.<br /><br /><pre class="fragment"><font size="4">00098 torder = <a class="code"
href="http://doxygen.postgresql.org/parse__clause_8c.html#53199c36a198b5acf15a26fbd7311f79">transformSortClause</a>(pstate,<br
/>
<a name="l00099"></a>00099 agg-><a class="code"
href="http://doxygen.postgresql.org/structAggref.html#f477b6dc44bd60585cabf8608dcf2047">aggorder</a>,<br/><a
name="l00100"></a>00100 &tlist,<br />
<a name="l00101"></a>00101 <span class="keyword">true</span> <span class="comment">/*
fixunknowns */</span> ,<br /><a name="l00102"></a>00102 <span
class="keyword">true</span><span class="comment">/* force SQL99 rules */</span> );<br />
<a name="l00103"></a>00103 </font><br /><br /><br /></pre> 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
codeby downloading the 9.0alpha4 version. I am trying to understand this piece of code, while i thought i should report
thisbug.<br /><br />Thanks,<br />Gokul.<br />