aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_clause.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/parser/parse_clause.c')
-rw-r--r--src/backend/parser/parse_clause.c25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/backend/parser/parse_clause.c b/src/backend/parser/parse_clause.c
index 4321c65707a..98ca2088810 100644
--- a/src/backend/parser/parse_clause.c
+++ b/src/backend/parser/parse_clause.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/parser/parse_clause.c,v 1.25 1998/09/01 04:30:27 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/parser/parse_clause.c,v 1.26 1998/09/25 13:36:03 thomas Exp $
*
*-------------------------------------------------------------------------
*/
@@ -389,10 +389,6 @@ transformSortClause(ParseState *pstate,
{
List *s = NIL;
-#ifdef PARSEDEBUG
- printf("transformSortClause: entering\n");
-#endif
-
while (orderlist != NIL)
{
SortGroupBy *sortby = lfirst(orderlist);
@@ -402,11 +398,6 @@ transformSortClause(ParseState *pstate,
restarget = findTargetlistEntry(pstate, sortby->node, targetlist, ORDER_CLAUSE);
-#ifdef PARSEDEBUG
- printf("transformSortClause: find sorting operator for type %d\n",
- restarget->resdom->restype);
-#endif
-
sortcl->resdom = resdom = restarget->resdom;
/*
@@ -478,11 +469,6 @@ transformSortClause(ParseState *pstate,
/* not a member of the sortclauses yet */
SortClause *sortcl = makeNode(SortClause);
-#ifdef PARSEDEBUG
- printf("transformSortClause: (2) find sorting operator for type %d\n",
- tlelt->resdom->restype);
-#endif
-
if (tlelt->resdom->restype == InvalidOid)
tlelt->resdom->restype = INT4OID;
@@ -520,11 +506,6 @@ transformSortClause(ParseState *pstate,
/* not a member of the sortclauses yet */
SortClause *sortcl = makeNode(SortClause);
-#ifdef PARSEDEBUG
- printf("transformSortClause: try sorting type %d\n",
- tlelt->resdom->restype);
-#endif
-
sortcl->resdom = tlelt->resdom;
sortcl->opoid = any_ordering_op(tlelt->resdom->restype);
@@ -576,10 +557,6 @@ transformUnionClause(List *unionClause, List *targetlist)
otype = ((TargetEntry *) lfirst(prev_target))->resdom->restype;
itype = ((TargetEntry *) lfirst(next_target))->resdom->restype;
-#ifdef PARSEDEBUG
- printf("transformUnionClause: types are %d -> %d\n", itype, otype);
-#endif
-
/* one or both is a NULL column? then don't convert... */
if (otype == InvalidOid)
{