1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-27 00:12:01 +03:00

index_insert has now HeapRelation as last param (for unique index

implementation).
This commit is contained in:
Vadim B. Mikheev
1997-01-10 10:00:39 +00:00
parent f48936e8ef
commit c6a605705c
4 changed files with 12 additions and 11 deletions

View File

@@ -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);
}
}

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.12 1997/01/05 10:58:15 vadim Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.13 1997/01/10 09:57:16 vadim Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1006,7 +1006,7 @@ failed to add item with len = %u to page %u (free space %u, nusd %u, noff %u)",
idatum,
inulls,
&(newtup->t_ctid),
true);
onerel);
if (iresult) pfree(iresult);
}
}