mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-30 16:21:22 +02:00
23 lines
441 B
C
23 lines
441 B
C
/*
|
|
* psql - the PostgreSQL interactive terminal
|
|
*
|
|
* Copyright (c) 2000-2012, PostgreSQL Global Development Group
|
|
*
|
|
* src/bin/psql/copy.h
|
|
*/
|
|
#ifndef COPY_H
|
|
#define COPY_H
|
|
|
|
#include "libpq-fe.h"
|
|
|
|
|
|
/* handler for \copy */
|
|
bool do_copy(const char *args);
|
|
|
|
/* lower level processors for copy in/out streams */
|
|
|
|
bool handleCopyOut(PGconn *conn, FILE *copystream);
|
|
bool handleCopyIn(PGconn *conn, FILE *copystream, bool isbinary);
|
|
|
|
#endif
|