postgresql/src/bin/psql/copy.h

23 lines
377 B
C
Raw Normal View History

#ifndef COPY_H
#define COPY_H
#include <c.h>
#include <stdio.h>
#include <libpq-fe.h>
#include "settings.h"
/* handler for \copy */
bool
do_copy(const char *args, int encoding);
/* lower level processors for copy in/out streams */
bool
1999-11-05 00:14:30 +01:00
handleCopyOut(PGconn *conn, FILE *copystream);
bool
1999-11-05 00:14:30 +01:00
handleCopyIn(PGconn *conn, FILE *copystream, const char *prompt);
#endif