1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-25 13:17:41 +03:00

Improve COPY syntax to use WITH clause, keep backward compatibility.

This commit is contained in:
Bruce Momjian
2002-06-20 16:00:44 +00:00
parent 2912fd45d1
commit c2c2fd57ee
24 changed files with 1228 additions and 961 deletions

View File

@@ -7,19 +7,18 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: copy.h,v 1.17 2002/03/29 19:06:21 tgl Exp $
* $Id: copy.h,v 1.18 2002/06/20 16:00:44 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef COPY_H
#define COPY_H
#include "nodes/parsenodes.h"
#include "nodes/primnodes.h"
extern int copy_lineno;
void DoCopy(const RangeVar *relation, bool binary, bool oids,
bool from, bool pipe,
char *filename, char *delim, char *null_print);
void DoCopy(const CopyStmt *stmt);
#endif /* COPY_H */

View File

@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: dbcommands.h,v 1.22 2002/06/18 17:27:58 momjian Exp $
* $Id: dbcommands.h,v 1.23 2002/06/20 16:00:44 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -16,7 +16,7 @@
#include <nodes/parsenodes.h>
extern void createdb(CreatedbStmt *stmt);
extern void createdb(const CreatedbStmt *stmt);
extern void dropdb(const char *dbname);
extern void AlterDatabaseSet(AlterDatabaseSetStmt *stmt);