@@ -65,7 +65,7 @@ PageInit(Page page, Size pageSize, Size specialSize)
6565 * Check that the page header and checksum (if any) appear valid.
6666 *
6767 * 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
6969 * pointers, testing invalid transaction identifiers, etc.
7070 *
7171 * It turns out to be necessary to allow zeroed pages here too. Even though
@@ -170,12 +170,12 @@ PageIsVerified(Page page, BlockNumber blkno)
170170 * reason. A WARNING is issued indicating the reason for the refusal.
171171 *
172172 * 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.
175175 *
176176 * If offsetNumber is valid and flag PAI_OVERWRITE is set, we just store
177177 * 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.
179179 *
180180 * If offsetNumber is valid and flag PAI_OVERWRITE is not set, insert
181181 * the item at the specified offsetNumber, moving existing items later
@@ -314,7 +314,7 @@ PageAddItemExtended(Page page,
314314 memmove (itemId + 1 , itemId ,
315315 (limit - offsetNumber ) * sizeof (ItemIdData ));
316316
317- /* set the item pointer */
317+ /* set the line pointer */
318318 ItemIdSetNormal (itemId , upper , size );
319319
320320 /*
@@ -529,7 +529,7 @@ PageRepairFragmentation(Page page)
529529 itemidptr -> itemoff >= (int ) pd_special ))
530530 ereport (ERROR ,
531531 (errcode (ERRCODE_DATA_CORRUPTED ),
532- errmsg ("corrupted item pointer: %u" ,
532+ errmsg ("corrupted line pointer: %u" ,
533533 itemidptr -> itemoff )));
534534 itemidptr -> alignedlen = MAXALIGN (ItemIdGetLength (lp ));
535535 totallen += itemidptr -> alignedlen ;
@@ -763,7 +763,7 @@ PageIndexTupleDelete(Page page, OffsetNumber offnum)
763763 offset != MAXALIGN (offset ))
764764 ereport (ERROR ,
765765 (errcode (ERRCODE_DATA_CORRUPTED ),
766- errmsg ("corrupted item pointer: offset = %u, size = %u" ,
766+ errmsg ("corrupted line pointer: offset = %u, size = %u" ,
767767 offset , (unsigned int ) size )));
768768
769769 /* Amount of space to actually be deleted */
@@ -881,7 +881,7 @@ PageIndexMultiDelete(Page page, OffsetNumber *itemnos, int nitems)
881881 pd_lower , pd_upper , pd_special )));
882882
883883 /*
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
885885 * going to keep. Notice we do not modify the page yet, since we are
886886 * still validity-checking.
887887 */
@@ -901,7 +901,7 @@ PageIndexMultiDelete(Page page, OffsetNumber *itemnos, int nitems)
901901 offset != MAXALIGN (offset ))
902902 ereport (ERROR ,
903903 (errcode (ERRCODE_DATA_CORRUPTED ),
904- errmsg ("corrupted item pointer: offset = %u, length = %u" ,
904+ errmsg ("corrupted line pointer: offset = %u, length = %u" ,
905905 offset , (unsigned int ) size )));
906906
907907 if (nextitm < nitems && offnum == itemnos [nextitm ])
@@ -989,14 +989,14 @@ PageIndexTupleDeleteNoCompact(Page page, OffsetNumber offnum)
989989 offset != MAXALIGN (offset ))
990990 ereport (ERROR ,
991991 (errcode (ERRCODE_DATA_CORRUPTED ),
992- errmsg ("corrupted item pointer: offset = %u, size = %u" ,
992+ errmsg ("corrupted line pointer: offset = %u, size = %u" ,
993993 offset , (unsigned int ) size )));
994994
995995 /* Amount of space to actually be deleted */
996996 size = MAXALIGN (size );
997997
998998 /*
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
10001000 * one. (Note: it's possible that the next-to-last one(s) are already
10011001 * unused, but we do not trouble to try to compact them out if so.)
10021002 */
@@ -1054,7 +1054,7 @@ PageIndexTupleDeleteNoCompact(Page page, OffsetNumber offnum)
10541054 * other tuples' data up or down as needed to keep the page compacted.
10551055 * This is better than deleting and reinserting the tuple, because it
10561056 * 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.
10581058 * Conceivably this could also be of use to an index AM that cares about
10591059 * the physical order of tuples as well as their ItemId order.
10601060 *
@@ -1099,7 +1099,7 @@ PageIndexTupleOverwrite(Page page, OffsetNumber offnum,
10991099 offset != MAXALIGN (offset ))
11001100 ereport (ERROR ,
11011101 (errcode (ERRCODE_DATA_CORRUPTED ),
1102- errmsg ("corrupted item pointer: offset = %u, size = %u" ,
1102+ errmsg ("corrupted line pointer: offset = %u, size = %u" ,
11031103 offset , (unsigned int ) oldsize )));
11041104
11051105 /*
0 commit comments