mirror of
https://github.com/postgres/postgres.git
synced 2025-05-05 09:19:17 +03:00
22 lines
502 B
C
22 lines
502 B
C
/*
|
|
* psql - the PostgreSQL interactive terminal
|
|
*
|
|
* Copyright 2000 by PostgreSQL Global Development Group
|
|
*
|
|
* $Header: /cvsroot/pgsql/src/bin/psql/copy.h,v 1.7 2000/02/16 13:15:26 momjian Exp $
|
|
*/
|
|
#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, const char *prompt);
|
|
|
|
#endif
|