diff --git a/src/bin/pgbench/exprparse.y b/src/bin/pgbench/exprparse.y index f6387d4a3c..17b065a6bf 100644 --- a/src/bin/pgbench/exprparse.y +++ b/src/bin/pgbench/exprparse.y @@ -23,7 +23,7 @@ PgBenchExpr *expr_parse_result; -static PgBenchExprList *make_elist(PgBenchExpr *exp, PgBenchExprList *list); +static PgBenchExprList *make_elist(PgBenchExpr *expr, PgBenchExprList *list); static PgBenchExpr *make_null_constant(void); static PgBenchExpr *make_boolean_constant(bool bval); static PgBenchExpr *make_integer_constant(int64 ival); diff --git a/src/include/replication/syncrep.h b/src/include/replication/syncrep.h index b5446597b5..0f3b3a7955 100644 --- a/src/include/replication/syncrep.h +++ b/src/include/replication/syncrep.h @@ -103,7 +103,7 @@ extern void SyncRepUpdateSyncStandbysDefined(void); extern int syncrep_yyparse(void); extern int syncrep_yylex(void); extern void syncrep_yyerror(const char *str); -extern void syncrep_scanner_init(const char *query_string); +extern void syncrep_scanner_init(const char *str); extern void syncrep_scanner_finish(void); #endif /* _SYNCREP_H */ diff --git a/src/include/replication/walsender_private.h b/src/include/replication/walsender_private.h index 9c61f92c44..cb4da76a89 100644 --- a/src/include/replication/walsender_private.h +++ b/src/include/replication/walsender_private.h @@ -119,7 +119,7 @@ extern void WalSndSetState(WalSndState state); extern int replication_yyparse(void); extern int replication_yylex(void); extern void replication_yyerror(const char *str) pg_attribute_noreturn(); -extern void replication_scanner_init(const char *query_string); +extern void replication_scanner_init(const char *str); extern void replication_scanner_finish(void); extern bool replication_scanner_is_replication_command(void);