File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ for FILE
16
16
do
17
17
cat $FILE |
18
18
sed ' s;/\* *---;/*---X_X;g' |
19
- sed ' s;[ ]else[ ]*\(/\*.*\)$;else \
20
- \1 ;g' | # workaround for indent bug
19
+ sed ' s;\([} ]\) else[ ]*\(/\*.*\)$;\1else \
20
+ \2 ;g' | # workaround for indent bug
21
21
detab -t4 -qc > /tmp/$$ a
22
22
indent -bad -bap -bbb -bc -bl -d0 -cdb -nce -cli1 -di16 -nfc1 \
23
23
-lp -nip -nbc -psl -di1 -i4 -l75 -npro /tmp/$$ a > /tmp/$$ 2>&1
Original file line number Diff line number Diff line change 7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.4 1997/09/05 19:32:28 momjian Exp $
10
+ * $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.5 1997/09/05 19:59:11 momjian Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -380,11 +380,11 @@ pg_checkretval(Oid rettype, QueryTreeList *queryTreeList)
380
380
tletype = (Oid ) ((Var * )thenode )-> vartype ;
381
381
else if (IsA (thenode ,Const ))
382
382
tletype = (Oid ) ((Const * )thenode )-> consttype ;
383
- else if (IsA (thenode ,Param )) {
383
+ else if (IsA (thenode ,Param ))
384
384
tletype = (Oid ) ((Param * )thenode )-> paramtype ;
385
- else if (IsA (thenode ,Expr )) {
385
+ else if (IsA (thenode ,Expr ))
386
386
tletype = Expr ;
387
- } else if (IsA (thenode ,LispList )) {
387
+ else if (IsA (thenode ,LispList )) {
388
388
thenode = lfirst (thenode );
389
389
if (IsA (thenode ,Oper ))
390
390
tletype = (Oid ) get_opresulttype ((Oper * )thenode );
You can’t perform that action at this time.
0 commit comments