diff options
author | Thomas G. Lockhart <lockhart@fourpalms.org> | 1998-09-25 13:36:08 +0000 |
---|---|---|
committer | Thomas G. Lockhart <lockhart@fourpalms.org> | 1998-09-25 13:36:08 +0000 |
commit | ee88006cf212c68f430db9aeb32ddaacb540daa7 (patch) | |
tree | 6dadccc2c90b912204d213df868649cac33f2629 /src/backend/parser/parse_clause.c | |
parent | 2df146575732d658d03ebf864495c8358ed06449 (diff) | |
download | postgresql-ee88006cf212c68f430db9aeb32ddaacb540daa7.tar.gz postgresql-ee88006cf212c68f430db9aeb32ddaacb540daa7.zip |
Clean up code in analyze.c for SERIAL data type.
Remove _all_ PARSEDEBUG print statements.
Diffstat (limited to 'src/backend/parser/parse_clause.c')
-rw-r--r-- | src/backend/parser/parse_clause.c | 25 |
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) { |