*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/parser/parse_clause.c,v 1.7 1998/01/05 03:32:26 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/parser/parse_clause.c,v 1.8 1998/01/06 23:58:05 momjian Exp $
*
*-------------------------------------------------------------------------
*/
TargetEntry *restarget;
Resdom *resdom;
- sortlist = NIL; /* we create it on the fly here */
restarget = find_targetlist_entry(pstate, sortby, targetlist);
if (restarget == NULL)
resdom->restype,
resdom->restype, false));
if (sortlist == NIL)
- {
s = sortlist = lcons(sortcl, NIL);
- }
else
{
List *i;