1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-26 12:21:12 +03:00

Cleanups needed for indent.

This commit is contained in:
Bruce Momjian
1997-09-05 19:32:44 +00:00
parent a1635450b3
commit ae50c8d84b
3 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.3 1997/09/05 18:10:32 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.4 1997/09/05 19:32:28 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -383,7 +383,7 @@ pg_checkretval(Oid rettype, QueryTreeList *queryTreeList)
else if (IsA(thenode,Param)) { else if (IsA(thenode,Param)) {
tletype = (Oid) ((Param*)thenode)->paramtype; tletype = (Oid) ((Param*)thenode)->paramtype;
else if (IsA(thenode,Expr)) { else if (IsA(thenode,Expr)) {
tletype = Expr tletype = Expr;
} else if (IsA(thenode,LispList)) { } else if (IsA(thenode,LispList)) {
thenode = lfirst(thenode); thenode = lfirst(thenode);
if (IsA(thenode,Oper)) if (IsA(thenode,Oper))

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.37 1997/09/05 18:10:42 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.38 1997/09/05 19:32:31 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -1357,8 +1357,7 @@ make_targetlist_expr(ParseState *pstate,
else if ((attrtype == FLOAT4OID) && (type_id == FLOAT8OID)) else if ((attrtype == FLOAT4OID) && (type_id == FLOAT8OID))
lfirst(expr) = lispInteger (FLOAT4OID); lfirst(expr) = lispInteger (FLOAT4OID);
else else
elog(WARN, "unequal type in tlist : %s \n", elog(WARN, "unequal type in tlist : %s \n", colname);
colname));
} }
Input_is_string = false; Input_is_string = false;

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.17 1997/09/05 18:11:14 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.18 1997/09/05 19:32:44 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -1909,6 +1909,7 @@ Point *close_pl(Point *pt, LINE *line)
result = PALLOCTYPE(Point); result = PALLOCTYPE(Point);
#if FALSE #if FALSE
if (FPeq(line->A, -1.0) && FPzero(line->B)) { /* vertical */ if (FPeq(line->A, -1.0) && FPzero(line->B)) { /* vertical */
}
#endif #endif
if (line_vertical(line)) { if (line_vertical(line)) {
result->x = line->C; result->x = line->C;