From a2740a455f558a1b8b9cd1962f92980efa4a984a Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Mon, 26 Aug 1996 06:32:06 +0000 Subject: There, now we support GiST...now what? :) --- src/backend/commands/copy.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/backend/commands/copy.c') diff --git a/src/backend/commands/copy.c b/src/backend/commands/copy.c index 109f36f3e5..d0c2a6223e 100644 --- a/src/backend/commands/copy.c +++ b/src/backend/commands/copy.c @@ -6,7 +6,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.4 1996/08/24 20:48:14 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.5 1996/08/26 06:30:21 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -527,11 +527,9 @@ CopyFrom(Relation rel, bool binary, bool oids, FILE *fp, char *delim) &idatum, index_nulls, finfoP[i]); - ituple = index_formtuple(itupdescArr[i], &idatum, index_nulls); - ituple->t_tid = tuple->t_ctid; - indexRes = index_insert(index_rels[i], ituple); + indexRes = index_insert(index_rels[i], &idatum, index_nulls, + &(tuple->t_ctid)); if (indexRes) pfree(indexRes); - pfree(ituple); } } -- cgit v1.2.1