postgresql/src/bin/psql/copy.h

23 lines
486 B
C
Raw Normal View History

2000-01-19 00:30:24 +01:00
/*
* psql - the PostgreSQL interactive terminal
*
2004-08-29 06:13:13 +02:00
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
2000-01-19 00:30:24 +01:00
*
2004-08-29 06:13:13 +02:00
* $PostgreSQL: pgsql/src/bin/psql/copy.h,v 1.16 2004/08/29 04:13:02 momjian Exp $
2000-01-19 00:30:24 +01:00
*/
#ifndef COPY_H
#define COPY_H
2000-02-16 14:15:26 +01:00
#include "libpq-fe.h"
/* handler for \copy */
2000-01-19 00:30:24 +01:00
bool do_copy(const char *args);
/* lower level processors for copy in/out streams */
2000-01-19 00:30:24 +01:00
bool handleCopyOut(PGconn *conn, FILE *copystream);
bool handleCopyIn(PGconn *conn, FILE *copystream);
#endif