postgresql/src/bin/psql/copy.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
506 B
C
Raw Normal View History

2000-01-19 00:30:24 +01:00
/*
* psql - the PostgreSQL interactive terminal
*
* Copyright (c) 2000-2024, PostgreSQL Global Development Group
2000-01-19 00:30:24 +01:00
*
2010-09-20 22:08:53 +02:00
* src/bin/psql/copy.h
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 */
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