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:
@ -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 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* 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)
|
|||||||
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);
|
||||||
|
Reference in New Issue
Block a user