Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf48936e

Browse files
committed
index_insert has now HeapRelation as last param (for unique index
implementation).
1 parent675457d commitf48936e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

‎src/backend/access/rtree/rtree.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtree.c,v 1.10 1996/11/13 20:47:35 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtree.c,v 1.11 1997/01/10 09:47:28 vadim Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -277,7 +277,7 @@ rtbuild(Relation heap,
277277
* It doesn't do any work; just locks the relation and passes the buck.
278278
*/
279279
InsertIndexResult
280-
rtinsert(Relationr,Datum*datum,char*nulls,ItemPointerht_ctid,boolis_update)
280+
rtinsert(Relationr,Datum*datum,char*nulls,ItemPointerht_ctid,RelationheapRel)
281281
{
282282
InsertIndexResultres;
283283
IndexTupleitup;

‎src/backend/catalog/index.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.10 1996/11/30 18:05:57 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.11 1997/01/10 09:51:38 vadim Exp $
1111
*
1212
*
1313
* INTERFACE ROUTINES
@@ -1597,7 +1597,7 @@ DefaultBuild(Relation heapRelation,
15971597
indexTuple->t_tid=heapTuple->t_ctid;
15981598

15991599
insertResult=index_insert(indexRelation,datum,nullv,
1600-
&(heapTuple->t_ctid),false);
1600+
&(heapTuple->t_ctid),heapRelation);
16011601

16021602
if (insertResult)pfree(insertResult);
16031603
pfree(indexTuple);

‎src/backend/catalog/indexing.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.7 1996/11/26 02:45:05 bryanh Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.8 1997/01/10 09:51:40 vadim Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -184,7 +184,7 @@ CatalogIndexInsert(Relation *idescs,
184184
finfoP);
185185

186186
indexRes=index_insert(idescs[i],&datum,nulls,
187-
&(heapTuple->t_ctid),false);
187+
&(heapTuple->t_ctid),heapRelation);
188188
if (indexRes)pfree(indexRes);
189189
}
190190
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp