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

Commitc7990b3

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

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

‎src/include/access/genam.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: genam.h,v 1.5 1996/11/13 20:50:28 scrappy Exp $
9+
* $Id: genam.h,v 1.6 1997/01/10 09:36:29 vadim Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -28,7 +28,7 @@ extern void index_close(Relation relation);
2828
externInsertIndexResultindex_insert(Relationrelation,
2929
Datum*datum,char*nulls,
3030
ItemPointerheap_t_ctid,
31-
boolis_update);
31+
RelationheapRel);
3232
externvoidindex_delete(Relationrelation,ItemPointerindexItem);
3333
externIndexScanDescindex_beginscan(Relationrelation,boolscanFromEnd,
3434
uint16numberOfKeys,ScanKeykey);

‎src/include/access/gist.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ extern void gistbuild(Relation heap,
174174
FuncIndexInfo*finfo,
175175
PredInfo*predInfo);
176176
externInsertIndexResultgistinsert(Relationr,Datum*datum,
177-
char*nulls,ItemPointerht_ctid,boolis_update);
177+
char*nulls,ItemPointerht_ctid,RelationheapRel);
178178
externvoid_gistdump(Relationr);
179179
externchar*text_range_out(TXTRANGE*r);
180180
externchar*int_range_out(INTRANGE*r);

‎src/include/access/hash.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: hash.h,v 1.5 1996/11/13 20:50:31 scrappy Exp $
9+
* $Id: hash.h,v 1.6 1997/01/10 09:36:32 vadim Exp $
1010
*
1111
* NOTES
1212
*modeled after Margo Seltzer's hash implementation for unix.
@@ -255,7 +255,7 @@ extern void hashbuild(Relation heap, Relation index, int natts,
255255
AttrNumber*attnum,IndexStrategyistrat,uint16pcount,
256256
Datum*params,FuncIndexInfo*finfo,PredInfo*predInfo);
257257
externInsertIndexResulthashinsert(Relationrel,Datum*datum,char*nulls,
258-
ItemPointerht_ctid,boolis_update);
258+
ItemPointerht_ctid,RelationheapRel);
259259
externchar*hashgettuple(IndexScanDescscan,ScanDirectiondir);
260260
externchar*hashbeginscan(Relationrel,boolfromEnd,uint16keysz,
261261
ScanKeyscankey);

‎src/include/access/nbtree.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: nbtree.h,v 1.4 1996/11/13 20:50:32 scrappy Exp $
9+
* $Id: nbtree.h,v 1.5 1997/01/10 09:36:33 vadim Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -171,7 +171,7 @@ typedef BTStackData*BTStack;
171171
* prototypes for functions in nbtinsert.c
172172
*/
173173
externInsertIndexResult_bt_doinsert(Relationrel,BTItembtitem,
174-
boolindex_is_unique,boolis_update);
174+
boolindex_is_unique,RelationheapRel);
175175

176176
/* default is to allow duplicates */
177177
externbool_bt_itemcmp(Relationrel,Sizekeysz,BTItemitem1,BTItemitem2,
@@ -203,7 +203,7 @@ extern void btbuild(Relation heap, Relation index, int natts,
203203
AttrNumber*attnum,IndexStrategyistrat,uint16pcount,
204204
Datum*params,FuncIndexInfo*finfo,PredInfo*predInfo);
205205
externInsertIndexResultbtinsert(Relationrel,Datum*datum,char*nulls,
206-
ItemPointerht_ctid,boolis_update);
206+
ItemPointerht_ctid,RelationheapRel);
207207
externchar*btgettuple(IndexScanDescscan,ScanDirectiondir);
208208
externchar*btbeginscan(Relationrel,boolfromEnd,uint16keysz,
209209
ScanKeyscankey);

‎src/include/access/rtree.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: rtree.h,v 1.4 1996/11/13 20:50:34scrappy Exp $
9+
* $Id: rtree.h,v 1.5 1997/01/10 09:36:34vadim Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -112,7 +112,7 @@ extern RetrieveIndexResult rtgettuple(IndexScanDesc s, ScanDirection dir);
112112
*Defined in access/index-rtree/
113113
*/
114114
externInsertIndexResultrtinsert(Relationr,Datum*datum,char*nulls,
115-
ItemPointerht_ctid,boolis_update);
115+
ItemPointerht_ctid,RelationheapRel);
116116
externchar*rtdelete(Relationr,ItemPointertid);
117117

118118
externRetrieveIndexResultrtgettuple(IndexScanDescs,ScanDirectiondir);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp