Header And Logo

PostgreSQL
| The world's most advanced open source database.

copy.h

Go to the documentation of this file.
00001 /*
00002  * psql - the PostgreSQL interactive terminal
00003  *
00004  * Copyright (c) 2000-2013, PostgreSQL Global Development Group
00005  *
00006  * src/bin/psql/copy.h
00007  */
00008 #ifndef COPY_H
00009 #define COPY_H
00010 
00011 #include "libpq-fe.h"
00012 
00013 
00014 /* handler for \copy */
00015 bool        do_copy(const char *args);
00016 
00017 /* lower level processors for copy in/out streams */
00018 
00019 bool        handleCopyOut(PGconn *conn, FILE *copystream);
00020 bool        handleCopyIn(PGconn *conn, FILE *copystream, bool isbinary);
00021 
00022 #endif