1996-07-09 08:22:35 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* copy.h
|
1997-09-07 07:04:48 +02:00
|
|
|
* Definitions for using the POSTGRES copy command.
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*
|
2000-01-26 06:58:53 +01:00
|
|
|
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
2000-02-13 19:59:53 +01:00
|
|
|
* $Id: copy.h,v 1.10 2000/02/13 18:59:52 momjian Exp $
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef COPY_H
|
1997-09-07 07:04:48 +02:00
|
|
|
#define COPY_H
|
1996-07-09 08:22:35 +02:00
|
|
|
|
2000-02-13 19:59:53 +01:00
|
|
|
extern int lineno;
|
1996-07-09 08:22:35 +02:00
|
|
|
|
1999-11-21 05:16:17 +01:00
|
|
|
void DoCopy(char *relname, bool binary, bool oids, bool from, bool pipe,
|
2000-01-14 23:11:38 +01:00
|
|
|
char *filename, char *delim, char *null_print);
|
1996-07-09 08:22:35 +02:00
|
|
|
|
1998-09-01 06:40:42 +02:00
|
|
|
#endif /* COPY_H */
|