@@ -65,7 +65,7 @@ PageInit(Page page, Size pageSize, Size specialSize)
65
65
* Check that the page header and checksum (if any) appear valid.
66
66
*
67
67
* This is called when a page has just been read in from disk. The idea is
68
- * to cheaply detect trashed pages before we go nuts following bogus item
68
+ * to cheaply detect trashed pages before we go nuts following bogus line
69
69
* pointers, testing invalid transaction identifiers, etc.
70
70
*
71
71
* It turns out to be necessary to allow zeroed pages here too. Even though
@@ -170,12 +170,12 @@ PageIsVerified(Page page, BlockNumber blkno)
170
170
* reason. A WARNING is issued indicating the reason for the refusal.
171
171
*
172
172
* offsetNumber must be either InvalidOffsetNumber to specify finding a
173
- * free item pointer, or a value between FirstOffsetNumber and one past
174
- * the last existing item, to specify using that particular item pointer.
173
+ * free line pointer, or a value between FirstOffsetNumber and one past
174
+ * the last existing item, to specify using that particular line pointer.
175
175
*
176
176
* If offsetNumber is valid and flag PAI_OVERWRITE is set, we just store
177
177
* the item at the specified offsetNumber, which must be either a
178
- * currently-unused item pointer, or one past the last existing item.
178
+ * currently-unused line pointer, or one past the last existing item.
179
179
*
180
180
* If offsetNumber is valid and flag PAI_OVERWRITE is not set, insert
181
181
* the item at the specified offsetNumber, moving existing items later
@@ -314,7 +314,7 @@ PageAddItemExtended(Page page,
314
314
memmove (itemId + 1 , itemId ,
315
315
(limit - offsetNumber ) * sizeof (ItemIdData ));
316
316
317
- /* set the item pointer */
317
+ /* set the line pointer */
318
318
ItemIdSetNormal (itemId , upper , size );
319
319
320
320
/*
@@ -529,7 +529,7 @@ PageRepairFragmentation(Page page)
529
529
itemidptr -> itemoff >= (int ) pd_special ))
530
530
ereport (ERROR ,
531
531
(errcode (ERRCODE_DATA_CORRUPTED ),
532
- errmsg ("corrupted item pointer: %u" ,
532
+ errmsg ("corrupted line pointer: %u" ,
533
533
itemidptr -> itemoff )));
534
534
itemidptr -> alignedlen = MAXALIGN (ItemIdGetLength (lp ));
535
535
totallen += itemidptr -> alignedlen ;
@@ -763,7 +763,7 @@ PageIndexTupleDelete(Page page, OffsetNumber offnum)
763
763
offset != MAXALIGN (offset ))
764
764
ereport (ERROR ,
765
765
(errcode (ERRCODE_DATA_CORRUPTED ),
766
- errmsg ("corrupted item pointer: offset = %u, size = %u" ,
766
+ errmsg ("corrupted line pointer: offset = %u, size = %u" ,
767
767
offset , (unsigned int ) size )));
768
768
769
769
/* Amount of space to actually be deleted */
@@ -881,7 +881,7 @@ PageIndexMultiDelete(Page page, OffsetNumber *itemnos, int nitems)
881
881
pd_lower , pd_upper , pd_special )));
882
882
883
883
/*
884
- * Scan the item pointer array and build a list of just the ones we are
884
+ * Scan the line pointer array and build a list of just the ones we are
885
885
* going to keep. Notice we do not modify the page yet, since we are
886
886
* still validity-checking.
887
887
*/
@@ -901,7 +901,7 @@ PageIndexMultiDelete(Page page, OffsetNumber *itemnos, int nitems)
901
901
offset != MAXALIGN (offset ))
902
902
ereport (ERROR ,
903
903
(errcode (ERRCODE_DATA_CORRUPTED ),
904
- errmsg ("corrupted item pointer: offset = %u, length = %u" ,
904
+ errmsg ("corrupted line pointer: offset = %u, length = %u" ,
905
905
offset , (unsigned int ) size )));
906
906
907
907
if (nextitm < nitems && offnum == itemnos [nextitm ])
@@ -989,14 +989,14 @@ PageIndexTupleDeleteNoCompact(Page page, OffsetNumber offnum)
989
989
offset != MAXALIGN (offset ))
990
990
ereport (ERROR ,
991
991
(errcode (ERRCODE_DATA_CORRUPTED ),
992
- errmsg ("corrupted item pointer: offset = %u, size = %u" ,
992
+ errmsg ("corrupted line pointer: offset = %u, size = %u" ,
993
993
offset , (unsigned int ) size )));
994
994
995
995
/* Amount of space to actually be deleted */
996
996
size = MAXALIGN (size );
997
997
998
998
/*
999
- * Either set the item pointer to "unused", or zap it if it's the last
999
+ * Either set the line pointer to "unused", or zap it if it's the last
1000
1000
* one. (Note: it's possible that the next-to-last one(s) are already
1001
1001
* unused, but we do not trouble to try to compact them out if so.)
1002
1002
*/
@@ -1054,7 +1054,7 @@ PageIndexTupleDeleteNoCompact(Page page, OffsetNumber offnum)
1054
1054
* other tuples' data up or down as needed to keep the page compacted.
1055
1055
* This is better than deleting and reinserting the tuple, because it
1056
1056
* avoids any data shifting when the tuple size doesn't change; and
1057
- * even when it does, we avoid moving the item pointers around.
1057
+ * even when it does, we avoid moving the line pointers around.
1058
1058
* Conceivably this could also be of use to an index AM that cares about
1059
1059
* the physical order of tuples as well as their ItemId order.
1060
1060
*
@@ -1099,7 +1099,7 @@ PageIndexTupleOverwrite(Page page, OffsetNumber offnum,
1099
1099
offset != MAXALIGN (offset ))
1100
1100
ereport (ERROR ,
1101
1101
(errcode (ERRCODE_DATA_CORRUPTED ),
1102
- errmsg ("corrupted item pointer: offset = %u, size = %u" ,
1102
+ errmsg ("corrupted line pointer: offset = %u, size = %u" ,
1103
1103
offset , (unsigned int ) oldsize )));
1104
1104
1105
1105
/*
0 commit comments