Commit 240a0181 authored by Bruce Momjian's avatar Bruce Momjian

Cleanups needed for indent.

parent 40e55881
...@@ -16,8 +16,8 @@ for FILE ...@@ -16,8 +16,8 @@ for FILE
do do
cat $FILE | cat $FILE |
sed 's;/\* *---;/*---X_X;g' | sed 's;/\* *---;/*---X_X;g' |
sed 's;[ ]else[ ]*\(/\*.*\)$;else\ sed 's;\([} ]\)else[ ]*\(/\*.*\)$;\1else\
\1;g' | # workaround for indent bug \2;g' | # workaround for indent bug
detab -t4 -qc >/tmp/$$a detab -t4 -qc >/tmp/$$a
indent -bad -bap -bbb -bc -bl -d0 -cdb -nce -cli1 -di16 -nfc1 \ indent -bad -bap -bbb -bc -bl -d0 -cdb -nce -cli1 -di16 -nfc1 \
-lp -nip -nbc -psl -di1 -i4 -l75 -npro /tmp/$$a >/tmp/$$ 2>&1 -lp -nip -nbc -psl -di1 -i4 -l75 -npro /tmp/$$a >/tmp/$$ 2>&1
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.4 1997/09/05 19:32:28 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.5 1997/09/05 19:59:11 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -380,11 +380,11 @@ pg_checkretval(Oid rettype, QueryTreeList *queryTreeList) ...@@ -380,11 +380,11 @@ pg_checkretval(Oid rettype, QueryTreeList *queryTreeList)
tletype = (Oid) ((Var*)thenode)->vartype; tletype = (Oid) ((Var*)thenode)->vartype;
else if (IsA(thenode,Const)) else if (IsA(thenode,Const))
tletype = (Oid) ((Const*)thenode)->consttype; tletype = (Oid) ((Const*)thenode)->consttype;
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))
tletype = (Oid) get_opresulttype((Oper*)thenode); tletype = (Oid) get_opresulttype((Oper*)thenode);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment