mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Remove extraneous blank lines before block-closing braces
These are useless and distracting. We wouldn't have written the code with them to begin with, so there's no reason to keep them. Author: Justin Pryzby <pryzby@telsasoft.com> Discussion: https://postgr.es/m/20220411020336.GB26620@telsasoft.com Discussion: https://postgr.es/m/attachment/133167/0016-Extraneous-blank-lines.patch
This commit is contained in:
@ -104,7 +104,6 @@ gbt_bit_l2n(GBT_VARKEY *leaf, FmgrInfo *flinfo)
|
||||
pfree(o);
|
||||
|
||||
return out;
|
||||
|
||||
}
|
||||
|
||||
static const gbtree_vinfo tinfo =
|
||||
|
@ -195,7 +195,6 @@ gbt_cash_penalty(PG_FUNCTION_ARGS)
|
||||
penalty_num(result, origentry->lower, origentry->upper, newentry->lower, newentry->upper);
|
||||
|
||||
PG_RETURN_POINTER(result);
|
||||
|
||||
}
|
||||
|
||||
Datum
|
||||
|
@ -190,7 +190,6 @@ gbt_float4_penalty(PG_FUNCTION_ARGS)
|
||||
penalty_num(result, origentry->lower, origentry->upper, newentry->lower, newentry->upper);
|
||||
|
||||
PG_RETURN_POINTER(result);
|
||||
|
||||
}
|
||||
|
||||
Datum
|
||||
|
@ -197,7 +197,6 @@ gbt_float8_penalty(PG_FUNCTION_ARGS)
|
||||
penalty_num(result, origentry->lower, origentry->upper, newentry->lower, newentry->upper);
|
||||
|
||||
PG_RETURN_POINTER(result);
|
||||
|
||||
}
|
||||
|
||||
Datum
|
||||
|
@ -165,7 +165,6 @@ gbt_inet_penalty(PG_FUNCTION_ARGS)
|
||||
penalty_num(result, origentry->lower, origentry->upper, newentry->lower, newentry->upper);
|
||||
|
||||
PG_RETURN_POINTER(result);
|
||||
|
||||
}
|
||||
|
||||
Datum
|
||||
|
@ -173,7 +173,6 @@ gbt_intv_compress(PG_FUNCTION_ARGS)
|
||||
}
|
||||
|
||||
PG_RETURN_POINTER(retval);
|
||||
|
||||
}
|
||||
|
||||
Datum
|
||||
@ -276,7 +275,6 @@ gbt_intv_penalty(PG_FUNCTION_ARGS)
|
||||
penalty_num(result, iorg[0], iorg[1], inew[0], inew[1]);
|
||||
|
||||
PG_RETURN_POINTER(result);
|
||||
|
||||
}
|
||||
|
||||
Datum
|
||||
|
@ -174,7 +174,6 @@ gbt_macad_penalty(PG_FUNCTION_ARGS)
|
||||
penalty_num(result, iorg[0], iorg[1], inew[0], inew[1]);
|
||||
|
||||
PG_RETURN_POINTER(result);
|
||||
|
||||
}
|
||||
|
||||
Datum
|
||||
|
@ -174,7 +174,6 @@ gbt_macad8_penalty(PG_FUNCTION_ARGS)
|
||||
penalty_num(result, iorg[0], iorg[1], inew[0], inew[1]);
|
||||
|
||||
PG_RETURN_POINTER(result);
|
||||
|
||||
}
|
||||
|
||||
Datum
|
||||
|
@ -377,7 +377,6 @@ gbt_ts_penalty(PG_FUNCTION_ARGS)
|
||||
penalty_num(result, orgdbl[0], orgdbl[1], newdbl[0], newdbl[1]);
|
||||
|
||||
PG_RETURN_POINTER(result);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -1004,7 +1004,6 @@ materializeResult(FunctionCallInfo fcinfo, PGconn *conn, PGresult *res)
|
||||
|
||||
/* clean up GUC settings, if we changed any */
|
||||
restoreLocalGucs(nestlevel);
|
||||
|
||||
}
|
||||
}
|
||||
PG_FINALLY();
|
||||
@ -2635,7 +2634,6 @@ deleteConnection(const char *name)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_UNDEFINED_OBJECT),
|
||||
errmsg("undefined connection name")));
|
||||
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -210,7 +210,6 @@ makepol(WORKSTATE *state)
|
||||
(errcode(ERRCODE_SYNTAX_ERROR),
|
||||
errmsg("syntax error")));
|
||||
return ERR;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -260,7 +260,6 @@ makepol(QPRS_STATE *state)
|
||||
errmsg("syntax error")));
|
||||
|
||||
return ERR;
|
||||
|
||||
}
|
||||
}
|
||||
while (lenstack)
|
||||
|
@ -1849,7 +1849,6 @@ pg_stat_statements_internal(FunctionCallInfo fcinfo,
|
||||
|
||||
if (qbuffer)
|
||||
free(qbuffer);
|
||||
|
||||
}
|
||||
|
||||
/* Number of output arguments (columns) for pg_stat_statements_info */
|
||||
|
@ -1734,7 +1734,6 @@ postgres_fdw_get_connections(PG_FUNCTION_ARGS)
|
||||
tuplestore_putvalues(rsinfo->setResult, rsinfo->setDesc, values, nulls);
|
||||
}
|
||||
|
||||
|
||||
PG_RETURN_VOID();
|
||||
}
|
||||
|
||||
|
@ -497,12 +497,10 @@ check_foreign_key(PG_FUNCTION_ARGS)
|
||||
nv, (is_char_type > 0) ? "'" : "", (k < nkeys) ? ", " : "");
|
||||
}
|
||||
strcat(sql, " where ");
|
||||
|
||||
}
|
||||
else
|
||||
/* DELETE */
|
||||
snprintf(sql, sizeof(sql), "delete from %s where ", relname);
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user