Harmonize parameter names in ecpg code.
[pgsql.git] / src / include / fe_utils / query_utils.h
blob90cb3db731abe2775ba5bde2a28d66e5d50a4a76
1 /*-------------------------------------------------------------------------
3 * Facilities for frontend code to query a databases.
5 * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
6 * Portions Copyright (c) 1994, Regents of the University of California
8 * src/include/fe_utils/query_utils.h
10 *-------------------------------------------------------------------------
12 #ifndef QUERY_UTILS_H
13 #define QUERY_UTILS_H
15 #include "postgres_fe.h"
17 #include "libpq-fe.h"
19 extern PGresult *executeQuery(PGconn *conn, const char *query, bool echo);
21 extern void executeCommand(PGconn *conn, const char *query, bool echo);
23 extern bool executeMaintenanceCommand(PGconn *conn, const char *query,
24 bool echo);
26 #endif /* QUERY_UTILS_H */