]> granicus.if.org Git - postgresql/blob - src/bin/psql/copy.h
Update copyrights for 2013
[postgresql] / src / bin / psql / copy.h
1 /*
2  * psql - the PostgreSQL interactive terminal
3  *
4  * Copyright (c) 2000-2013, 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 bool            do_copy(const char *args);
16
17 /* lower level processors for copy in/out streams */
18
19 bool            handleCopyOut(PGconn *conn, FILE *copystream);
20 bool            handleCopyIn(PGconn *conn, FILE *copystream, bool isbinary);
21
22 #endif