PostgreSQL Source Code
git master
copy.h
Go to the documentation of this file.
1
/*
2
* psql - the PostgreSQL interactive terminal
3
*
4
* Copyright (c) 2000-2023, PostgreSQL Global Development Group
5
*
6
* src/bin/psql/copy.h
7
*/
8
#ifndef COPY_H
9
#define COPY_H
10
11
#include "
libpq-fe.h
"
12
13
14
/* handler for \copy */
15
extern
bool
do_copy
(
const
char
*
args
);
16
17
/* lower level processors for copy in/out streams */
18
19
extern
bool
handleCopyOut
(
PGconn
*
conn
, FILE *copystream,
20
PGresult
**
res
);
21
extern
bool
handleCopyIn
(
PGconn
*
conn
, FILE *copystream,
bool
isbinary,
22
PGresult
**
res
);
23
24
#endif
handleCopyOut
bool handleCopyOut(PGconn *conn, FILE *copystream, PGresult **res)
Definition:
copy.c:434
do_copy
bool do_copy(const char *args)
Definition:
copy.c:268
handleCopyIn
bool handleCopyIn(PGconn *conn, FILE *copystream, bool isbinary, PGresult **res)
Definition:
copy.c:511
res
static void PGresult * res
Definition:
dblink.c:163
libpq-fe.h
generate_unaccent_rules.args
args
Definition:
generate_unaccent_rules.py:283
conn
PGconn * conn
Definition:
streamutil.c:54
pg_conn
Definition:
libpq-int.h:359
pg_result
Definition:
libpq-int.h:171
src
bin
psql
copy.h
Generated on Thu Dec 7 2023 06:13:23 for PostgreSQL Source Code by
1.9.1