aboutsummaryrefslogtreecommitdiff
path: root/src/include/executor
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-05-12 15:17:30 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2022-05-12 15:17:30 -0400
commit23e7b38bfe396f919fdb66057174d29e17086418 (patch)
tree335c3962ef8afe0f6193d0413dbc51642276b147 /src/include/executor
parent93909599cdba64c8759d646983c0a4ef93de1e50 (diff)
downloadpostgresql-23e7b38bfe396f919fdb66057174d29e17086418.tar.gz
postgresql-23e7b38bfe396f919fdb66057174d29e17086418.zip
Pre-beta mechanical code beautification.
Run pgindent, pgperltidy, and reformat-dat-files. I manually fixed a couple of comments that pgindent uglified.
Diffstat (limited to 'src/include/executor')
-rw-r--r--src/include/executor/execExpr.h32
-rw-r--r--src/include/executor/executor.h2
2 files changed, 17 insertions, 17 deletions
diff --git a/src/include/executor/execExpr.h b/src/include/executor/execExpr.h
index 9df70e6f06f..e34db8c93cb 100644
--- a/src/include/executor/execExpr.h
+++ b/src/include/executor/execExpr.h
@@ -684,49 +684,49 @@ typedef struct ExprEvalStep
{
int category;
Oid outfuncid;
- } *arg_type_cache; /* cache for datum_to_json[b]() */
+ } *arg_type_cache; /* cache for datum_to_json[b]() */
int nargs;
} json_constructor;
/* for EEOP_IS_JSON */
struct
{
- JsonIsPredicate *pred; /* original expression node */
+ JsonIsPredicate *pred; /* original expression node */
} is_json;
/* for EEOP_JSONEXPR */
struct
{
- JsonExpr *jsexpr; /* original expression node */
+ JsonExpr *jsexpr; /* original expression node */
struct
{
- FmgrInfo func; /* typinput function for output type */
+ FmgrInfo func; /* typinput function for output type */
Oid typioparam;
- } input; /* I/O info for output type */
+ } input; /* I/O info for output type */
NullableDatum
- *formatted_expr, /* formatted context item value */
- *res_expr, /* result item */
- *coercion_expr, /* input for JSON item coercion */
- *pathspec; /* path specification value */
+ *formatted_expr, /* formatted context item value */
+ *res_expr, /* result item */
+ *coercion_expr, /* input for JSON item coercion */
+ *pathspec; /* path specification value */
- ExprState *result_expr; /* coerced to output type */
+ ExprState *result_expr; /* coerced to output type */
ExprState *default_on_empty; /* ON EMPTY DEFAULT expression */
ExprState *default_on_error; /* ON ERROR DEFAULT expression */
- List *args; /* passing arguments */
+ List *args; /* passing arguments */
- void *cache; /* cache for json_populate_type() */
+ void *cache; /* cache for json_populate_type() */
struct JsonCoercionsState
{
struct JsonCoercionState
{
- JsonCoercion *coercion; /* coercion expression */
- ExprState *estate; /* coercion expression state */
- } null,
+ JsonCoercion *coercion; /* coercion expression */
+ ExprState *estate; /* coercion expression state */
+ } null,
string,
- numeric,
+ numeric ,
boolean,
date,
time,
diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h
index 873772f1883..d68a6b9d28c 100644
--- a/src/include/executor/executor.h
+++ b/src/include/executor/executor.h
@@ -266,7 +266,7 @@ ExecProcNode(PlanState *node)
extern ExprState *ExecInitExpr(Expr *node, PlanState *parent);
extern ExprState *ExecInitExprWithParams(Expr *node, ParamListInfo ext_params);
extern ExprState *ExecInitExprWithCaseValue(Expr *node, PlanState *parent,
- Datum *caseval, bool *casenull);
+ Datum *caseval, bool *casenull);
extern ExprState *ExecInitQual(List *qual, PlanState *parent);
extern ExprState *ExecInitCheck(List *qual, PlanState *parent);
extern List *ExecInitExprList(List *nodes, PlanState *parent);