PostgreSQL Source Code
git master
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
f
h
i
n
o
p
r
s
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
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-2024, 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 "
postgres_fe.h
"
16
17
#include "
libpq-fe.h
"
18
19
extern
PGresult
*
executeQuery
(
PGconn
*
conn
,
const
char
*query,
bool
echo);
20
21
extern
void
executeCommand
(
PGconn
*
conn
,
const
char
*query,
bool
echo);
22
23
extern
bool
executeMaintenanceCommand
(
PGconn
*
conn
,
const
char
*query,
24
bool
echo);
25
26
#endif
/* QUERY_UTILS_H */
libpq-fe.h
postgres_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:53
pg_conn
Definition:
libpq-int.h:377
pg_result
Definition:
libpq-int.h:171
src
include
fe_utils
query_utils.h
Generated on Wed Nov 27 2024 00:13:24 for PostgreSQL Source Code by
1.9.1