mirror of
https://github.com/postgres/postgres.git
synced 2025-06-03 01:21:48 +03:00
Per our usual policy, Postgres header files should not include these; the decision as to which one to use is to be made in the calling .c file instead. These errors aren't particularly new, but I'm not feeling a need to back-patch these changes; it's mostly just neatnik-ism.
25 lines
750 B
C
25 lines
750 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* Facilities for frontend code to query a databases.
|
|
*
|
|
* Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* src/include/fe_utils/query_utils.h
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef QUERY_UTILS_H
|
|
#define QUERY_UTILS_H
|
|
|
|
#include "libpq-fe.h"
|
|
|
|
extern PGresult *executeQuery(PGconn *conn, const char *query, bool echo);
|
|
|
|
extern void executeCommand(PGconn *conn, const char *query, bool echo);
|
|
|
|
extern bool executeMaintenanceCommand(PGconn *conn, const char *query,
|
|
bool echo);
|
|
|
|
#endif /* QUERY_UTILS_H */
|