|
|
|
@ -6,40 +6,15 @@ |
|
|
|
|
* |
|
|
|
|
* |
|
|
|
|
* IDENTIFICATION |
|
|
|
|
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.11 1996/11/02 02:01:47 bryanh Exp $ |
|
|
|
|
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.12 1996/11/03 23:57:22 scrappy Exp $ |
|
|
|
|
* |
|
|
|
|
*------------------------------------------------------------------------- |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
#include <postgres.h> |
|
|
|
|
|
|
|
|
|
#include <catalog/pg_attribute.h> |
|
|
|
|
#include <access/attnum.h> |
|
|
|
|
#include <nodes/pg_list.h> |
|
|
|
|
#include <access/tupdesc.h> |
|
|
|
|
#include <storage/fd.h> |
|
|
|
|
#include <catalog/pg_am.h> |
|
|
|
|
#include <catalog/pg_class.h> |
|
|
|
|
#include <nodes/nodes.h> |
|
|
|
|
#include <rewrite/prs2lock.h> |
|
|
|
|
#include <access/skey.h> |
|
|
|
|
#include <access/strat.h> |
|
|
|
|
#include <utils/rel.h> |
|
|
|
|
|
|
|
|
|
#include <storage/block.h> |
|
|
|
|
#include <storage/off.h> |
|
|
|
|
#include <storage/itemptr.h> |
|
|
|
|
#include <time.h> |
|
|
|
|
#include <utils/nabstime.h> |
|
|
|
|
#include <access/htup.h> |
|
|
|
|
|
|
|
|
|
#include <utils/tqual.h> |
|
|
|
|
#include <storage/buf.h> |
|
|
|
|
#include <access/relscan.h> |
|
|
|
|
#include <access/heapam.h> |
|
|
|
|
|
|
|
|
|
#include <access/itup.h> |
|
|
|
|
|
|
|
|
|
#include <stdio.h> |
|
|
|
|
|
|
|
|
|
#include <tcop/dest.h> |
|
|
|
@ -50,19 +25,15 @@ |
|
|
|
|
|
|
|
|
|
#include <miscadmin.h> |
|
|
|
|
|
|
|
|
|
#include <utils/geo-decls.h> |
|
|
|
|
#include <utils/builtins.h> |
|
|
|
|
|
|
|
|
|
#include <sys/stat.h> |
|
|
|
|
|
|
|
|
|
#include <access/funcindex.h> |
|
|
|
|
|
|
|
|
|
#include <catalog/pg_index.h> |
|
|
|
|
|
|
|
|
|
#include <utils/syscache.h> |
|
|
|
|
|
|
|
|
|
#include <nodes/params.h> |
|
|
|
|
#include <access/sdir.h> |
|
|
|
|
#include <executor/hashjoin.h> |
|
|
|
|
#include <nodes/primnodes.h> |
|
|
|
|
#include <nodes/memnodes.h> |
|
|
|
@ -71,13 +42,8 @@ |
|
|
|
|
|
|
|
|
|
#include <utils/memutils.h> |
|
|
|
|
|
|
|
|
|
#include <nodes/plannodes.h> |
|
|
|
|
#include <nodes/parsenodes.h> |
|
|
|
|
#include <executor/execdesc.h> |
|
|
|
|
#include <executor/executor.h> |
|
|
|
|
|
|
|
|
|
#include <storage/ipc.h> |
|
|
|
|
#include <storage/bufmgr.h> |
|
|
|
|
#include <access/transam.h> |
|
|
|
|
|
|
|
|
|
#include <catalog/index.h> |
|
|
|
@ -88,6 +54,7 @@ |
|
|
|
|
|
|
|
|
|
#include <catalog/catname.h> |
|
|
|
|
|
|
|
|
|
#include <catalog/pg_user.h> |
|
|
|
|
|
|
|
|
|
#define ISOCTAL(c) (((c) >= '0') && ((c) <= '7')) |
|
|
|
|
#define VALUE(c) ((c) - '0') |
|
|
|
|