mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
index_insert has now HeapRelation as last param (for unique index
implementation).
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.19 1996/12/19 04:58:24 scrappy Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.20 1997/01/10 09:57:14 vadim Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -619,7 +619,7 @@ CopyFrom(Relation rel, bool binary, bool oids, FILE *fp, char *delim)
|
||||
index_nulls,
|
||||
finfoP[i]);
|
||||
indexRes = index_insert(index_rels[i], &idatum, index_nulls,
|
||||
&(tuple->t_ctid), false);
|
||||
&(tuple->t_ctid), rel);
|
||||
if (indexRes) pfree(indexRes);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user