diff options
| author | Marc G. Fournier <scrappy@hub.org> | 1996-11-03 12:35:27 +0000 |
|---|---|---|
| committer | Marc G. Fournier <scrappy@hub.org> | 1996-11-03 12:35:27 +0000 |
| commit | 302b809793a29fac0aa9c98ac38f6371b1e0ad06 (patch) | |
| tree | d0b607733818aaba9936273dc207475409deb4a8 /src/backend/access/nbtree/nbtinsert.c | |
| parent | ff36ebc922566542f4f18c4e76a379bc620dfde4 (diff) | |
| download | postgresql-302b809793a29fac0aa9c98ac38f6371b1e0ad06.tar.gz | |
Changes required so that access/* compiles cleanly...
cleaning up behind myself before *yawn* bed :)
Diffstat (limited to 'src/backend/access/nbtree/nbtinsert.c')
| -rw-r--r-- | src/backend/access/nbtree/nbtinsert.c | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/src/backend/access/nbtree/nbtinsert.c b/src/backend/access/nbtree/nbtinsert.c index ebfa65f16d..5fe97489f2 100644 --- a/src/backend/access/nbtree/nbtinsert.c +++ b/src/backend/access/nbtree/nbtinsert.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.4 1996/10/25 09:55:36 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.5 1996/11/03 12:35:11 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -17,17 +17,6 @@ #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/buf.h" @@ -51,6 +40,12 @@ #include "storage/ipc.h" #include "storage/bufmgr.h" +#ifndef HAVE_MEMMOVE +# include "regex/utils.h" +#else +# include <string.h> +#endif + static InsertIndexResult _bt_insertonpg(Relation rel, Buffer buf, BTStack stack, int keysz, ScanKey scankey, BTItem btitem, BTItem afteritem); static Buffer _bt_split(Relation rel, Buffer buf); static OffsetNumber _bt_findsplitloc(Relation rel, Page page, OffsetNumber start, OffsetNumber maxoff, Size llimit); |
