Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
PostgreSQL Source Code
git master
query_utils.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* Facilities for frontend code to query a databases.
4
*
5
* Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
6
* Portions Copyright (c) 1994, Regents of the University of California
7
*
8
* src/include/fe_utils/query_utils.h
9
*
10
*-------------------------------------------------------------------------
11
*/
12
#ifndef QUERY_UTILS_H
13
#define QUERY_UTILS_H
14
15
#include "
libpq-fe.h
"
16
17
extern
PGresult
*
executeQuery
(
PGconn
*
conn
,
const
char
*query,
bool
echo);
18
19
extern
void
executeCommand
(
PGconn
*
conn
,
const
char
*query,
bool
echo);
20
21
extern
bool
executeMaintenanceCommand
(
PGconn
*
conn
,
const
char
*query,
22
bool
echo);
23
24
#endif
/* QUERY_UTILS_H */
libpq-fe.h
executeCommand
void executeCommand(PGconn *conn, const char *query, bool echo)
Definition:
query_utils.c:47
executeQuery
PGresult * executeQuery(PGconn *conn, const char *query, bool echo)
Definition:
query_utils.c:22
executeMaintenanceCommand
bool executeMaintenanceCommand(PGconn *conn, const char *query, bool echo)
Definition:
query_utils.c:74
conn
PGconn * conn
Definition:
streamutil.c:52
pg_conn
Definition:
libpq-int.h:371
pg_result
Definition:
libpq-int.h:165
src
include
fe_utils
query_utils.h
Generated on Fri Jun 6 2025 12:13:26 for PostgreSQL Source Code by
1.9.4