mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-02 18:01:17 +02:00
ee94300446
Backpatch certain files through 9.1
25 lines
500 B
C
25 lines
500 B
C
/*
|
|
* psql - the PostgreSQL interactive terminal
|
|
*
|
|
* Copyright (c) 2000-2016, PostgreSQL Global Development Group
|
|
*
|
|
* src/bin/psql/copy.h
|
|
*/
|
|
#ifndef COPY_H
|
|
#define COPY_H
|
|
|
|
#include "libpq-fe.h"
|
|
|
|
|
|
/* handler for \copy */
|
|
extern bool do_copy(const char *args);
|
|
|
|
/* lower level processors for copy in/out streams */
|
|
|
|
extern bool handleCopyOut(PGconn *conn, FILE *copystream,
|
|
PGresult **res);
|
|
extern bool handleCopyIn(PGconn *conn, FILE *copystream, bool isbinary,
|
|
PGresult **res);
|
|
|
|
#endif
|