LCOV - differential code coverage report
Current view: top level - src/backend/access/nbtree - nbtutils.c (source / functions) Coverage Total Hit UNC UBC GBC GIC GNC CBC DUB DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 87.6 % 314 275 39 8 1 53 213 62 784
Current Date: 2026-06-29 16:15:13 +0200 Functions: 94.4 % 18 17 1 1 5 11 25
Baseline: lcov-20260630-baseline Branches: 65.9 % 264 174 3 87 5 27 142
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 19 19 19
(360..) days: 86.8 % 295 256 39 8 1 34 213
Function coverage date bins:
(30,360] days: 100.0 % 3 3 3
(360..) days: 93.3 % 15 14 1 1 2 11
Branch coverage date bins:
(30,360] days: 90.0 % 10 9 1 9
(360..) days: 65.0 % 254 165 2 87 5 18 142

 Age         Owner                    Branch data    TLA  Line data    Source code
                                  1                 :                : /*-------------------------------------------------------------------------
                                  2                 :                :  *
                                  3                 :                :  * nbtutils.c
                                  4                 :                :  *    Utility code for Postgres btree implementation.
                                  5                 :                :  *
                                  6                 :                :  * Portions Copyright (c) 1996-2026, PostgreSQL Global Development Group
                                  7                 :                :  * Portions Copyright (c) 1994, Regents of the University of California
                                  8                 :                :  *
                                  9                 :                :  *
                                 10                 :                :  * IDENTIFICATION
                                 11                 :                :  *    src/backend/access/nbtree/nbtutils.c
                                 12                 :                :  *
                                 13                 :                :  *-------------------------------------------------------------------------
                                 14                 :                :  */
                                 15                 :                : 
                                 16                 :                : #include "postgres.h"
                                 17                 :                : 
                                 18                 :                : #include <time.h>
                                 19                 :                : 
                                 20                 :                : #include "access/nbtree.h"
                                 21                 :                : #include "access/reloptions.h"
                                 22                 :                : #include "access/relscan.h"
                                 23                 :                : #include "commands/progress.h"
                                 24                 :                : #include "common/int.h"
                                 25                 :                : #include "lib/qunique.h"
                                 26                 :                : #include "miscadmin.h"
                                 27                 :                : #include "storage/lwlock.h"
                                 28                 :                : #include "storage/subsystems.h"
                                 29                 :                : #include "utils/datum.h"
                                 30                 :                : #include "utils/lsyscache.h"
                                 31                 :                : #include "utils/rel.h"
                                 32                 :                : 
                                 33                 :                : 
                                 34                 :                : static int  _bt_compare_int(const void *va, const void *vb);
                                 35                 :                : static int  _bt_keep_natts(Relation rel, IndexTuple lastleft,
                                 36                 :                :                            IndexTuple firstright, BTScanInsert itup_key);
                                 37                 :                : 
                                 38                 :                : 
                                 39                 :                : /*
                                 40                 :                :  * _bt_mkscankey
                                 41                 :                :  *      Build an insertion scan key that contains comparison data from itup
                                 42                 :                :  *      as well as comparator routines appropriate to the key datatypes.
                                 43                 :                :  *
                                 44                 :                :  *      The result is intended for use with _bt_compare() and _bt_truncate().
                                 45                 :                :  *      Callers that don't need to fill out the insertion scankey arguments
                                 46                 :                :  *      (e.g. they use an ad-hoc comparison routine, or only need a scankey
                                 47                 :                :  *      for _bt_truncate()) can pass a NULL index tuple.  The scankey will
                                 48                 :                :  *      be initialized as if an "all truncated" pivot tuple was passed
                                 49                 :                :  *      instead.
                                 50                 :                :  *
                                 51                 :                :  *      Note that we may occasionally have to share lock the metapage to
                                 52                 :                :  *      determine whether or not the keys in the index are expected to be
                                 53                 :                :  *      unique (i.e. if this is a "heapkeyspace" index).  We assume a
                                 54                 :                :  *      heapkeyspace index when caller passes a NULL tuple, allowing index
                                 55                 :                :  *      build callers to avoid accessing the non-existent metapage.  We
                                 56                 :                :  *      also assume that the index is _not_ allequalimage when a NULL tuple
                                 57                 :                :  *      is passed; CREATE INDEX callers call _bt_allequalimage() to set the
                                 58                 :                :  *      field themselves.
                                 59                 :                :  */
                                 60                 :                : BTScanInsert
 1116 pg@bowt.ie                 61                 :GNC     8716177 : _bt_mkscankey(Relation rel, IndexTuple itup)
                                 62                 :                : {
                                 63                 :                :     BTScanInsert key;
                                 64                 :                :     ScanKey     skey;
                                 65                 :                :     TupleDesc   itupdesc;
                                 66                 :                :     int         indnkeyatts;
                                 67                 :                :     int16      *indoption;
                                 68                 :                :     int         tupnatts;
                                 69                 :                :     int         i;
                                 70                 :                : 
10164 bruce@momjian.us           71                 :        8716177 :     itupdesc = RelationGetDescr(rel);
 3006 teodor@sigaev.ru           72                 :        8716177 :     indnkeyatts = IndexRelationGetNumberOfKeyAttributes(rel);
 7112 tgl@sss.pgh.pa.us          73                 :        8716177 :     indoption = rel->rd_indoption;
 2659 pg@bowt.ie                 74   [ +  +  +  + ]:        8716177 :     tupnatts = itup ? BTreeTupleGetNAtts(itup, rel) : 0;
                                 75                 :                : 
                                 76         [ -  + ]:        8716177 :     Assert(tupnatts <= IndexRelationGetNumberOfAttributes(rel));
                                 77                 :                : 
                                 78                 :                :     /*
                                 79                 :                :      * We'll execute search using scan key constructed on key columns.
                                 80                 :                :      * Truncated attributes and non-key attributes are omitted from the final
                                 81                 :                :      * scan key.
                                 82                 :                :      */
                                 83                 :        8716177 :     key = palloc(offsetof(BTScanInsertData, scankeys) +
                                 84                 :        8716177 :                  sizeof(ScanKeyData) * indnkeyatts);
 2316                            85         [ +  + ]:        8716177 :     if (itup)
 1116                            86                 :        8624727 :         _bt_metaversion(rel, &key->heapkeyspace, &key->allequalimage);
                                 87                 :                :     else
                                 88                 :                :     {
                                 89                 :                :         /* Utility statement callers can set these fields themselves */
 2316                            90                 :          91450 :         key->heapkeyspace = true;
                                 91                 :          91450 :         key->allequalimage = false;
                                 92                 :                :     }
 2596 tgl@sss.pgh.pa.us          93                 :        8716177 :     key->anynullkeys = false;    /* initial assumption */
  935 pg@bowt.ie                 94                 :        8716177 :     key->nextkey = false;        /* usual case, required by btinsert */
                                 95                 :        8716177 :     key->backward = false;       /* usual case, required by btinsert */
 2659                            96                 :        8716177 :     key->keysz = Min(indnkeyatts, tupnatts);
                                 97         [ +  + ]:        8716177 :     key->scantid = key->heapkeyspace && itup ?
                                 98         [ +  - ]:       17432354 :         BTreeTupleGetHeapTID(itup) : NULL;
                                 99                 :        8716177 :     skey = key->scankeys;
 3006 teodor@sigaev.ru          100         [ +  + ]:       22588077 :     for (i = 0; i < indnkeyatts; i++)
                                101                 :                :     {
                                102                 :                :         FmgrInfo   *procinfo;
                                103                 :                :         Datum       arg;
                                104                 :                :         bool        null;
                                105                 :                :         int         flags;
                                106                 :                : 
                                107                 :                :         /*
                                108                 :                :          * We can use the cached (default) support procs since no cross-type
                                109                 :                :          * comparison can be needed.
                                110                 :                :          */
 9033 tgl@sss.pgh.pa.us         111                 :       13871900 :         procinfo = index_getprocinfo(rel, i + 1, BTORDER_PROC);
                                112                 :                : 
                                113                 :                :         /*
                                114                 :                :          * Key arguments built from truncated attributes (or when caller
                                115                 :                :          * provides no tuple) are defensively represented as NULL values. They
                                116                 :                :          * should never be used.
                                117                 :                :          */
 2659 pg@bowt.ie                118         [ +  + ]:       13871900 :         if (i < tupnatts)
                                119                 :       13709940 :             arg = index_getattr(itup, i + 1, itupdesc, &null);
                                120                 :                :         else
                                121                 :                :         {
                                122                 :         161960 :             arg = (Datum) 0;
                                123                 :         161960 :             null = true;
                                124                 :                :         }
                                125                 :       13871900 :         flags = (null ? SK_ISNULL : 0) | (indoption[i] << SK_BT_INDOPTION_SHIFT);
 9033 tgl@sss.pgh.pa.us         126                 :       13871900 :         ScanKeyEntryInitializeWithInfo(&skey[i],
                                127                 :                :                                        flags,
                                128                 :       13871900 :                                        (AttrNumber) (i + 1),
                                129                 :                :                                        InvalidStrategy,
                                130                 :                :                                        InvalidOid,
 5558                           131                 :       13871900 :                                        rel->rd_indcollation[i],
                                132                 :                :                                        procinfo,
                                133                 :                :                                        arg);
                                134                 :                :         /* Record if any key attribute is NULL (or truncated) */
 2625 pg@bowt.ie                135         [ +  + ]:       13871900 :         if (null)
                                136                 :         172329 :             key->anynullkeys = true;
                                137                 :                :     }
                                138                 :                : 
                                139                 :                :     /*
                                140                 :                :      * In NULLS NOT DISTINCT mode, we pretend that there are no null keys, so
                                141                 :                :      * that full uniqueness check is done.
                                142                 :                :      */
 1608 peter@eisentraut.org      143         [ +  + ]:        8716177 :     if (rel->rd_index->indnullsnotdistinct)
                                144                 :            124 :         key->anynullkeys = false;
                                145                 :                : 
 2659 pg@bowt.ie                146                 :        8716177 :     return key;
                                147                 :                : }
                                148                 :                : 
                                149                 :                : /*
                                150                 :                :  * qsort comparison function for int arrays
                                151                 :                :  */
                                152                 :                : static int
  202                           153                 :         336324 : _bt_compare_int(const void *va, const void *vb)
                                154                 :                : {
                                155                 :         336324 :     int         a = *((const int *) va);
                                156                 :         336324 :     int         b = *((const int *) vb);
                                157                 :                : 
                                158                 :         336324 :     return pg_cmp_s32(a, b);
                                159                 :                : }
                                160                 :                : 
                                161                 :                : /*
                                162                 :                :  * _bt_killitems - set LP_DEAD state for items an indexscan caller has
                                163                 :                :  * told us were killed
                                164                 :                :  *
                                165                 :                :  * scan->opaque, referenced locally through so, contains information about the
                                166                 :                :  * current page and killed tuples thereon (generally, this should only be
                                167                 :                :  * called if so->numKilled > 0).
                                168                 :                :  *
                                169                 :                :  * Caller should not have a lock on the so->currPos page, but must hold a
                                170                 :                :  * buffer pin when !so->dropPin.  When we return, it still won't be locked.
                                171                 :                :  * It'll continue to hold whatever pins were held before calling here.
                                172                 :                :  *
                                173                 :                :  * We match items by heap TID before assuming they are the right ones to set
                                174                 :                :  * LP_DEAD.  If the scan is one that holds a buffer pin on the target page
                                175                 :                :  * continuously from initially reading the items until applying this function
                                176                 :                :  * (if it is a !so->dropPin scan), VACUUM cannot have deleted any items on the
                                177                 :                :  * page, so the page's TIDs can't have been recycled by now.  There's no risk
                                178                 :                :  * that we'll confuse a new index tuple that happens to use a recycled TID
                                179                 :                :  * with a now-removed tuple with the same TID (that used to be on this same
                                180                 :                :  * page).  We can't rely on that during scans that drop buffer pins eagerly
                                181                 :                :  * (so->dropPin scans), though, so we must condition setting LP_DEAD bits on
                                182                 :                :  * the page LSN having not changed since back when _bt_readpage saw the page.
                                183                 :                :  * We totally give up on setting LP_DEAD bits when the page LSN changed.
                                184                 :                :  *
                                185                 :                :  * We give up much less often during !so->dropPin scans, but it still happens.
                                186                 :                :  * We cope with cases where items have moved right due to insertions.  If an
                                187                 :                :  * item has moved off the current page due to a split, we'll fail to find it
                                188                 :                :  * and just give up on it.
                                189                 :                :  */
                                190                 :                : void
 4115 kgrittn@postgresql.o      191                 :CBC      109081 : _bt_killitems(IndexScanDesc scan)
                                192                 :                : {
  389 pg@bowt.ie                193                 :         109081 :     Relation    rel = scan->indexRelation;
 7359 tgl@sss.pgh.pa.us         194                 :         109081 :     BTScanOpaque so = (BTScanOpaque) scan->opaque;
                                195                 :                :     Page        page;
                                196                 :                :     BTPageOpaque opaque;
                                197                 :                :     OffsetNumber minoff;
                                198                 :                :     OffsetNumber maxoff;
 4115 kgrittn@postgresql.o      199                 :         109081 :     int         numKilled = so->numKilled;
 7359 tgl@sss.pgh.pa.us         200                 :         109081 :     bool        killedsomething = false;
                                201                 :                :     Buffer      buf;
                                202                 :                : 
  389 pg@bowt.ie                203         [ -  + ]:         109081 :     Assert(numKilled > 0);
 4115 kgrittn@postgresql.o      204   [ -  +  -  -  :         109081 :     Assert(BTScanPosIsValid(so->currPos));
                                              -  + ]
  389 pg@bowt.ie                205         [ -  + ]:         109081 :     Assert(scan->heapRelation != NULL); /* can't be a bitmap index scan */
                                206                 :                : 
                                207                 :                :     /* Always invalidate so->killedItems[] before leaving so->currPos */
 4115 kgrittn@postgresql.o      208                 :         109081 :     so->numKilled = 0;
                                209                 :                : 
                                210                 :                :     /*
                                211                 :                :      * We need to iterate through so->killedItems[] in leaf page order; the
                                212                 :                :      * loop below expects this (when marking posting list tuples, at least).
                                213                 :                :      * so->killedItems[] is now in whatever order the scan returned items in.
                                214                 :                :      * Scrollable cursor scans might have even saved the same item/TID twice.
                                215                 :                :      *
                                216                 :                :      * Sort and unique-ify so->killedItems[] to deal with all this.
                                217                 :                :      */
  202 pg@bowt.ie                218         [ +  + ]:GNC      109081 :     if (numKilled > 1)
                                219                 :                :     {
                                220                 :          11817 :         qsort(so->killedItems, numKilled, sizeof(int), _bt_compare_int);
                                221                 :          11817 :         numKilled = qunique(so->killedItems, numKilled, sizeof(int),
                                222                 :                :                             _bt_compare_int);
                                223                 :                :     }
                                224                 :                : 
  389 pg@bowt.ie                225         [ +  + ]:CBC      109081 :     if (!so->dropPin)
                                226                 :                :     {
                                227                 :                :         /*
                                228                 :                :          * We have held the pin on this page since we read the index tuples,
                                229                 :                :          * so all we need to do is lock it.  The pin will have prevented
                                230                 :                :          * concurrent VACUUMs from recycling any of the TIDs on the page.
                                231                 :                :          */
                                232   [ -  +  -  -  :          20145 :         Assert(BTScanPosIsPinned(so->currPos));
                                              -  + ]
  384                           233                 :          20145 :         buf = so->currPos.buf;
                                234                 :          20145 :         _bt_lockbuf(rel, buf, BT_READ);
                                235                 :                :     }
                                236                 :                :     else
                                237                 :                :     {
                                238                 :                :         XLogRecPtr  latestlsn;
                                239                 :                : 
  389                           240   [ -  +  -  -  :          88936 :         Assert(!BTScanPosIsPinned(so->currPos));
                                              -  + ]
                                241                 :          88936 :         buf = _bt_getbuf(rel, so->currPos.currPage, BT_READ);
                                242                 :                : 
                                243                 :          88936 :         latestlsn = BufferGetLSNAtomic(buf);
                                244         [ -  + ]:          88936 :         Assert(so->currPos.lsn <= latestlsn);
                                245         [ +  + ]:          88936 :         if (so->currPos.lsn != latestlsn)
                                246                 :                :         {
                                247                 :                :             /* Modified, give up on hinting */
                                248                 :            117 :             _bt_relbuf(rel, buf);
 4115 kgrittn@postgresql.o      249                 :            117 :             return;
                                250                 :                :         }
                                251                 :                : 
                                252                 :                :         /* Unmodified, hinting is safe */
                                253                 :                :     }
                                254                 :                : 
  384 pg@bowt.ie                255                 :         108964 :     page = BufferGetPage(buf);
 1551 michael@paquier.xyz       256                 :         108964 :     opaque = BTPageGetOpaque(page);
 7359 tgl@sss.pgh.pa.us         257         [ +  + ]:         108964 :     minoff = P_FIRSTDATAKEY(opaque);
                                258                 :         108964 :     maxoff = PageGetMaxOffsetNumber(page);
                                259                 :                : 
                                260                 :                :     /* Iterate through so->killedItems[] in leaf page order */
  389 pg@bowt.ie                261         [ +  + ]:         344638 :     for (int i = 0; i < numKilled; i++)
                                262                 :                :     {
 7209 bruce@momjian.us          263                 :         235676 :         int         itemIndex = so->killedItems[i];
                                264                 :         235676 :         BTScanPosItem *kitem = &so->currPos.items[itemIndex];
                                265                 :         235676 :         OffsetNumber offnum = kitem->indexOffset;
                                266                 :                : 
 7359 tgl@sss.pgh.pa.us         267   [ +  -  -  + ]:         235676 :         Assert(itemIndex >= so->currPos.firstItem &&
                                268                 :                :                itemIndex <= so->currPos.lastItem);
  202 pg@bowt.ie                269   [ +  +  -  + ]:GNC      235676 :         Assert(i == 0 ||
                                270                 :                :                offnum >= so->currPos.items[so->killedItems[i - 1]].indexOffset);
                                271                 :                : 
 7359 tgl@sss.pgh.pa.us         272         [ -  + ]:CBC      235676 :         if (offnum < minoff)
 7359 tgl@sss.pgh.pa.us         273                 :UBC           0 :             continue;           /* pure paranoia */
 7359 tgl@sss.pgh.pa.us         274         [ +  + ]:CBC     6785921 :         while (offnum <= maxoff)
                                275                 :                :         {
                                276                 :        6741298 :             ItemId      iid = PageGetItemId(page, offnum);
                                277                 :        6741298 :             IndexTuple  ituple = (IndexTuple) PageGetItem(page, iid);
 2316 pg@bowt.ie                278                 :        6741298 :             bool        killtuple = false;
                                279                 :                : 
                                280         [ +  + ]:        6741298 :             if (BTreeTupleIsPosting(ituple))
                                281                 :                :             {
                                282                 :        1132911 :                 int         pi = i + 1;
                                283                 :        1132911 :                 int         nposting = BTreeTupleGetNPosting(ituple);
                                284                 :                :                 int         j;
                                285                 :                : 
                                286                 :                :                 /*
                                287                 :                :                  * Note that the page may have been modified in almost any way
                                288                 :                :                  * since we first read it (in the !so->dropPin case), so it's
                                289                 :                :                  * possible that this posting list tuple wasn't a posting list
                                290                 :                :                  * tuple when we first encountered its heap TIDs.
                                291                 :                :                  */
                                292         [ +  + ]:        1172189 :                 for (j = 0; j < nposting; j++)
                                293                 :                :                 {
                                294                 :        1171360 :                     ItemPointer item = BTreeTupleGetPostingN(ituple, j);
                                295                 :                : 
                                296         [ +  + ]:        1171360 :                     if (!ItemPointerEquals(item, &kitem->heapTid))
                                297                 :        1132082 :                         break;  /* out of posting list loop */
                                298                 :                : 
                                299                 :                :                     /*
                                300                 :                :                      * kitem must have matching offnum when heap TIDs match,
                                301                 :                :                      * though only in the common case where the page can't
                                302                 :                :                      * have been concurrently modified
                                303                 :                :                      */
  389                           304   [ -  +  -  - ]:          39278 :                     Assert(kitem->indexOffset == offnum || !so->dropPin);
                                305                 :                : 
                                306                 :                :                     /*
                                307                 :                :                      * Read-ahead to later kitems here.
                                308                 :                :                      *
                                309                 :                :                      * We rely on the assumption that not advancing kitem here
                                310                 :                :                      * will prevent us from considering the posting list tuple
                                311                 :                :                      * fully dead by not matching its next heap TID in next
                                312                 :                :                      * loop iteration.
                                313                 :                :                      *
                                314                 :                :                      * If, on the other hand, this is the final heap TID in
                                315                 :                :                      * the posting list tuple, then tuple gets killed
                                316                 :                :                      * regardless (i.e. we handle the case where the last
                                317                 :                :                      * kitem is also the last heap TID in the last index tuple
                                318                 :                :                      * correctly -- posting tuple still gets killed).
                                319                 :                :                      */
 2316                           320         [ +  + ]:          39278 :                     if (pi < numKilled)
                                321                 :          12842 :                         kitem = &so->currPos.items[so->killedItems[pi++]];
                                322                 :                :                 }
                                323                 :                : 
                                324                 :                :                 /*
                                325                 :                :                  * Don't bother advancing the outermost loop's int iterator to
                                326                 :                :                  * avoid processing killed items that relate to the same
                                327                 :                :                  * offnum/posting list tuple.  This micro-optimization hardly
                                328                 :                :                  * seems worth it.  (Further iterations of the outermost loop
                                329                 :                :                  * will fail to match on this same posting list's first heap
                                330                 :                :                  * TID instead, so we'll advance to the next offnum/index
                                331                 :                :                  * tuple pretty quickly.)
                                332                 :                :                  */
                                333         [ +  + ]:        1132911 :                 if (j == nposting)
                                334                 :            829 :                     killtuple = true;
                                335                 :                :             }
                                336         [ +  + ]:        5608387 :             else if (ItemPointerEquals(&ituple->t_tid, &kitem->heapTid))
                                337                 :         190636 :                 killtuple = true;
                                338                 :                : 
                                339                 :                :             /*
                                340                 :                :              * Mark index item as dead, if it isn't already.  Since this
                                341                 :                :              * happens while holding a buffer lock possibly in shared mode,
                                342                 :                :              * it's possible that multiple processes attempt to do this
                                343                 :                :              * simultaneously, leading to multiple full-page images being sent
                                344                 :                :              * to WAL (if wal_log_hints or data checksums are enabled), which
                                345                 :                :              * is undesirable.
                                346                 :                :              */
 2237 alvherre@alvh.no-ip.      347   [ +  +  +  + ]:        6741298 :             if (killtuple && !ItemIdIsDead(iid))
                                348                 :                :             {
  112 andres@anarazel.de        349         [ +  + ]:GNC      191053 :                 if (!killedsomething)
                                350                 :                :                 {
                                351                 :                :                     /*
                                352                 :                :                      * Use the hint bit infrastructure to check if we can
                                353                 :                :                      * update the page while just holding a share lock. If we
                                354                 :                :                      * are not allowed, there's no point continuing.
                                355                 :                :                      */
                                356         [ +  + ]:          80963 :                     if (!BufferBeginSetHintBits(buf))
                                357                 :              2 :                         goto unlock_page;
                                358                 :                :                 }
                                359                 :                : 
                                360                 :                :                 /* found the item/all posting list items */
 6866 tgl@sss.pgh.pa.us         361                 :CBC      191051 :                 ItemIdMarkDead(iid);
 7359                           362                 :         191051 :                 killedsomething = true;
                                363                 :         191051 :                 break;          /* out of inner search loop */
                                364                 :                :             }
                                365                 :        6550245 :             offnum = OffsetNumberNext(offnum);
                                366                 :                :         }
                                367                 :                :     }
                                368                 :                : 
                                369                 :                :     /*
                                370                 :                :      * Since this can be redone later if needed, mark as dirty hint.
                                371                 :                :      *
                                372                 :                :      * Whenever we mark anything LP_DEAD, we also set the page's
                                373                 :                :      * BTP_HAS_GARBAGE flag, which is likewise just a hint.  (Note that we
                                374                 :                :      * only rely on the page-level flag in !heapkeyspace indexes.)
                                375                 :                :      */
                                376         [ +  + ]:         108962 :     if (killedsomething)
                                377                 :                :     {
 7280                           378                 :          80961 :         opaque->btpo_flags |= BTP_HAS_GARBAGE;
  112 andres@anarazel.de        379                 :GNC       80961 :         BufferFinishSetHintBits(buf, true, true);
                                380                 :                :     }
                                381                 :                : 
                                382                 :          28001 : unlock_page:
  384 pg@bowt.ie                383         [ +  + ]:CBC      108964 :     if (!so->dropPin)
                                384                 :          20145 :         _bt_unlockbuf(rel, buf);
                                385                 :                :     else
                                386                 :          88819 :         _bt_relbuf(rel, buf);
                                387                 :                : }
                                388                 :                : 
                                389                 :                : 
                                390                 :                : /*
                                391                 :                :  * The following routines manage a shared-memory area in which we track
                                392                 :                :  * assignment of "vacuum cycle IDs" to currently-active btree vacuuming
                                393                 :                :  * operations.  There is a single counter which increments each time we
                                394                 :                :  * start a vacuum to assign it a cycle ID.  Since multiple vacuums could
                                395                 :                :  * be active concurrently, we have to track the cycle ID for each active
                                396                 :                :  * vacuum; this requires at most MaxBackends entries (usually far fewer).
                                397                 :                :  * We assume at most one vacuum can be active for a given index.
                                398                 :                :  *
                                399                 :                :  * Access to the shared memory area is controlled by BtreeVacuumLock.
                                400                 :                :  * In principle we could use a separate lmgr locktag for each index,
                                401                 :                :  * but a single LWLock is much cheaper, and given the short time that
                                402                 :                :  * the lock is ever held, the concurrency hit should be minimal.
                                403                 :                :  */
                                404                 :                : 
                                405                 :                : typedef struct BTOneVacInfo
                                406                 :                : {
                                407                 :                :     LockRelId   relid;          /* global identifier of an index */
                                408                 :                :     BTCycleId   cycleid;        /* cycle ID for its active VACUUM */
                                409                 :                : } BTOneVacInfo;
                                410                 :                : 
                                411                 :                : typedef struct BTVacInfo
                                412                 :                : {
                                413                 :                :     BTCycleId   cycle_ctr;      /* cycle ID most recently assigned */
                                414                 :                :     int         num_vacuums;    /* number of currently active VACUUMs */
                                415                 :                :     int         max_vacuums;    /* allocated length of vacuums[] array */
                                416                 :                :     BTOneVacInfo vacuums[FLEXIBLE_ARRAY_MEMBER];
                                417                 :                : } BTVacInfo;
                                418                 :                : 
                                419                 :                : static BTVacInfo *btvacinfo;
                                420                 :                : 
                                421                 :                : static void BTreeShmemRequest(void *arg);
                                422                 :                : static void BTreeShmemInit(void *arg);
                                423                 :                : 
                                424                 :                : const ShmemCallbacks BTreeShmemCallbacks = {
                                425                 :                :     .request_fn = BTreeShmemRequest,
                                426                 :                :     .init_fn = BTreeShmemInit,
                                427                 :                : };
                                428                 :                : 
                                429                 :                : /*
                                430                 :                :  * _bt_vacuum_cycleid --- get the active vacuum cycle ID for an index,
                                431                 :                :  *      or zero if there is no active VACUUM
                                432                 :                :  *
                                433                 :                :  * Note: for correct interlocking, the caller must already hold pin and
                                434                 :                :  * exclusive lock on each buffer it will store the cycle ID into.  This
                                435                 :                :  * ensures that even if a VACUUM starts immediately afterwards, it cannot
                                436                 :                :  * process those pages until the page split is complete.
                                437                 :                :  */
                                438                 :                : BTCycleId
 7358 tgl@sss.pgh.pa.us         439                 :          15481 : _bt_vacuum_cycleid(Relation rel)
                                440                 :                : {
                                441                 :          15481 :     BTCycleId   result = 0;
                                442                 :                :     int         i;
                                443                 :                : 
                                444                 :                :     /* Share lock is enough since this is a read-only operation */
                                445                 :          15481 :     LWLockAcquire(BtreeVacuumLock, LW_SHARED);
                                446                 :                : 
                                447         [ +  + ]:          15494 :     for (i = 0; i < btvacinfo->num_vacuums; i++)
                                448                 :                :     {
                                449                 :             14 :         BTOneVacInfo *vac = &btvacinfo->vacuums[i];
                                450                 :                : 
                                451         [ +  + ]:             14 :         if (vac->relid.relId == rel->rd_lockInfo.lockRelId.relId &&
 7358 tgl@sss.pgh.pa.us         452         [ +  - ]:GBC           1 :             vac->relid.dbId == rel->rd_lockInfo.lockRelId.dbId)
                                453                 :                :         {
                                454                 :              1 :             result = vac->cycleid;
                                455                 :              1 :             break;
                                456                 :                :         }
                                457                 :                :     }
                                458                 :                : 
 7358 tgl@sss.pgh.pa.us         459                 :CBC       15481 :     LWLockRelease(BtreeVacuumLock);
                                460                 :          15481 :     return result;
                                461                 :                : }
                                462                 :                : 
                                463                 :                : /*
                                464                 :                :  * _bt_start_vacuum --- assign a cycle ID to a just-starting VACUUM operation
                                465                 :                :  *
                                466                 :                :  * Note: the caller must guarantee that it will eventually call
                                467                 :                :  * _bt_end_vacuum, else we'll permanently leak an array slot.  To ensure
                                468                 :                :  * that this happens even in elog(FATAL) scenarios, the appropriate coding
                                469                 :                :  * is not just a PG_TRY, but
                                470                 :                :  *      PG_ENSURE_ERROR_CLEANUP(_bt_end_vacuum_callback, PointerGetDatum(rel))
                                471                 :                :  */
                                472                 :                : BTCycleId
                                473                 :           2425 : _bt_start_vacuum(Relation rel)
                                474                 :                : {
                                475                 :                :     BTCycleId   result;
                                476                 :                :     int         i;
                                477                 :                :     BTOneVacInfo *vac;
                                478                 :                : 
                                479                 :           2425 :     LWLockAcquire(BtreeVacuumLock, LW_EXCLUSIVE);
                                480                 :                : 
                                481                 :                :     /*
                                482                 :                :      * Assign the next cycle ID, being careful to avoid zero as well as the
                                483                 :                :      * reserved high values.
                                484                 :                :      */
 7022                           485                 :           2425 :     result = ++(btvacinfo->cycle_ctr);
                                486   [ +  -  -  + ]:           2425 :     if (result == 0 || result > MAX_BT_CYCLE_ID)
 7022 tgl@sss.pgh.pa.us         487                 :UBC           0 :         result = btvacinfo->cycle_ctr = 1;
                                488                 :                : 
                                489                 :                :     /* Let's just make sure there's no entry already for this index */
 7358 tgl@sss.pgh.pa.us         490         [ +  + ]:CBC        2433 :     for (i = 0; i < btvacinfo->num_vacuums; i++)
                                491                 :                :     {
 7358 tgl@sss.pgh.pa.us         492                 :GBC           8 :         vac = &btvacinfo->vacuums[i];
                                493         [ -  + ]:              8 :         if (vac->relid.relId == rel->rd_lockInfo.lockRelId.relId &&
 7358 tgl@sss.pgh.pa.us         494         [ #  # ]:UBC           0 :             vac->relid.dbId == rel->rd_lockInfo.lockRelId.dbId)
                                495                 :                :         {
                                496                 :                :             /*
                                497                 :                :              * Unlike most places in the backend, we have to explicitly
                                498                 :                :              * release our LWLock before throwing an error.  This is because
                                499                 :                :              * we expect _bt_end_vacuum() to be called before transaction
                                500                 :                :              * abort cleanup can run to release LWLocks.
                                501                 :                :              */
 7032                           502                 :              0 :             LWLockRelease(BtreeVacuumLock);
 7358                           503         [ #  # ]:              0 :             elog(ERROR, "multiple active vacuums for index \"%s\"",
                                504                 :                :                  RelationGetRelationName(rel));
                                505                 :                :         }
                                506                 :                :     }
                                507                 :                : 
                                508                 :                :     /* OK, add an entry */
 7358 tgl@sss.pgh.pa.us         509         [ -  + ]:CBC        2425 :     if (btvacinfo->num_vacuums >= btvacinfo->max_vacuums)
                                510                 :                :     {
 7032 tgl@sss.pgh.pa.us         511                 :UBC           0 :         LWLockRelease(BtreeVacuumLock);
 7358                           512         [ #  # ]:              0 :         elog(ERROR, "out of btvacinfo slots");
                                513                 :                :     }
 7358 tgl@sss.pgh.pa.us         514                 :CBC        2425 :     vac = &btvacinfo->vacuums[btvacinfo->num_vacuums];
                                515                 :           2425 :     vac->relid = rel->rd_lockInfo.lockRelId;
                                516                 :           2425 :     vac->cycleid = result;
                                517                 :           2425 :     btvacinfo->num_vacuums++;
                                518                 :                : 
                                519                 :           2425 :     LWLockRelease(BtreeVacuumLock);
                                520                 :           2425 :     return result;
                                521                 :                : }
                                522                 :                : 
                                523                 :                : /*
                                524                 :                :  * _bt_end_vacuum --- mark a btree VACUUM operation as done
                                525                 :                :  *
                                526                 :                :  * Note: this is deliberately coded not to complain if no entry is found;
                                527                 :                :  * this allows the caller to put PG_TRY around the start_vacuum operation.
                                528                 :                :  */
                                529                 :                : void
                                530                 :           2425 : _bt_end_vacuum(Relation rel)
                                531                 :                : {
                                532                 :                :     int         i;
                                533                 :                : 
                                534                 :           2425 :     LWLockAcquire(BtreeVacuumLock, LW_EXCLUSIVE);
                                535                 :                : 
                                536                 :                :     /* Find the array entry */
                                537         [ +  - ]:           2428 :     for (i = 0; i < btvacinfo->num_vacuums; i++)
                                538                 :                :     {
                                539                 :           2428 :         BTOneVacInfo *vac = &btvacinfo->vacuums[i];
                                540                 :                : 
                                541         [ +  + ]:           2428 :         if (vac->relid.relId == rel->rd_lockInfo.lockRelId.relId &&
                                542         [ +  - ]:           2425 :             vac->relid.dbId == rel->rd_lockInfo.lockRelId.dbId)
                                543                 :                :         {
                                544                 :                :             /* Remove it by shifting down the last entry */
                                545                 :           2425 :             *vac = btvacinfo->vacuums[btvacinfo->num_vacuums - 1];
                                546                 :           2425 :             btvacinfo->num_vacuums--;
                                547                 :           2425 :             break;
                                548                 :                :         }
                                549                 :                :     }
                                550                 :                : 
                                551                 :           2425 :     LWLockRelease(BtreeVacuumLock);
                                552                 :           2425 : }
                                553                 :                : 
                                554                 :                : /*
                                555                 :                :  * _bt_end_vacuum wrapped as an on_shmem_exit callback function
                                556                 :                :  */
                                557                 :                : void
 6649 tgl@sss.pgh.pa.us         558                 :GBC           3 : _bt_end_vacuum_callback(int code, Datum arg)
                                559                 :                : {
                                560                 :              3 :     _bt_end_vacuum((Relation) DatumGetPointer(arg));
                                561                 :              3 : }
                                562                 :                : 
                                563                 :                : /*
                                564                 :                :  * BTreeShmemRequest --- register this module's shared memory
                                565                 :                :  */
                                566                 :                : static void
   85 heikki.linnakangas@i      567                 :GNC        1212 : BTreeShmemRequest(void *arg)
                                568                 :                : {
                                569                 :                :     Size        size;
                                570                 :                : 
 4148 tgl@sss.pgh.pa.us         571                 :CBC        1212 :     size = offsetof(BTVacInfo, vacuums);
 1540 rhaas@postgresql.org      572                 :           1212 :     size = add_size(size, mul_size(MaxBackends, sizeof(BTOneVacInfo)));
                                573                 :                : 
   85 heikki.linnakangas@i      574                 :GNC        1212 :     ShmemRequestStruct(.name = "BTree Vacuum State",
                                575                 :                :                        .size = size,
                                576                 :                :                        .ptr = (void **) &btvacinfo,
                                577                 :                :         );
 7358 tgl@sss.pgh.pa.us         578                 :GIC        1212 : }
                                579                 :                : 
                                580                 :                : /*
                                581                 :                :  * BTreeShmemInit --- initialize this module's shared memory
                                582                 :                :  */
                                583                 :                : static void
   85 heikki.linnakangas@i      584                 :GNC        1209 : BTreeShmemInit(void *arg)
                                585                 :                : {
                                586                 :                :     /*
                                587                 :                :      * It doesn't really matter what the cycle counter starts at, but having
                                588                 :                :      * it always start the same doesn't seem good.  Seed with low-order bits
                                589                 :                :      * of time() instead.
                                590                 :                :      */
                                591                 :           1209 :     btvacinfo->cycle_ctr = (BTCycleId) time(NULL);
                                592                 :                : 
                                593                 :           1209 :     btvacinfo->num_vacuums = 0;
                                594                 :           1209 :     btvacinfo->max_vacuums = MaxBackends;
 7358 tgl@sss.pgh.pa.us         595                 :CBC        1209 : }
                                596                 :                : 
                                597                 :                : bytea *
 3817                           598                 :            204 : btoptions(Datum reloptions, bool validate)
                                599                 :                : {
                                600                 :                :     static const relopt_parse_elt tab[] = {
                                601                 :                :         {"fillfactor", RELOPT_TYPE_INT, offsetof(BTOptions, fillfactor)},
                                602                 :                :         {"vacuum_cleanup_index_scale_factor", RELOPT_TYPE_REAL,
                                603                 :                :         offsetof(BTOptions, vacuum_cleanup_index_scale_factor)},
                                604                 :                :         {"deduplicate_items", RELOPT_TYPE_BOOL,
                                605                 :                :         offsetof(BTOptions, deduplicate_items)}
                                606                 :                :     };
                                607                 :                : 
 2409 michael@paquier.xyz       608                 :            204 :     return (bytea *) build_reloptions(reloptions, validate,
                                609                 :                :                                       RELOPT_KIND_BTREE,
                                610                 :                :                                       sizeof(BTOptions),
                                611                 :                :                                       tab, lengthof(tab));
                                612                 :                : }
                                613                 :                : 
                                614                 :                : /*
                                615                 :                :  *  btproperty() -- Check boolean properties of indexes.
                                616                 :                :  *
                                617                 :                :  * This is optional, but handling AMPROP_RETURNABLE here saves opening the rel
                                618                 :                :  * to call btcanreturn.
                                619                 :                :  */
                                620                 :                : bool
 3608 tgl@sss.pgh.pa.us         621                 :            504 : btproperty(Oid index_oid, int attno,
                                622                 :                :            IndexAMProperty prop, const char *propname,
                                623                 :                :            bool *res, bool *isnull)
                                624                 :                : {
                                625         [ +  + ]:            504 :     switch (prop)
                                626                 :                :     {
                                627                 :             28 :         case AMPROP_RETURNABLE:
                                628                 :                :             /* answer only for columns, not AM or whole index */
                                629         [ +  + ]:             28 :             if (attno == 0)
                                630                 :              8 :                 return false;
                                631                 :                :             /* otherwise, btree can always return data */
                                632                 :             20 :             *res = true;
                                633                 :             20 :             return true;
                                634                 :                : 
                                635                 :            476 :         default:
                                636                 :            476 :             return false;       /* punt to generic code */
                                637                 :                :     }
                                638                 :                : }
                                639                 :                : 
                                640                 :                : /*
                                641                 :                :  *  btbuildphasename() -- Return name of index build phase.
                                642                 :                :  */
                                643                 :                : char *
 2646 alvherre@alvh.no-ip.      644                 :UBC           0 : btbuildphasename(int64 phasenum)
                                645                 :                : {
                                646   [ #  #  #  #  :              0 :     switch (phasenum)
                                              #  # ]
                                647                 :                :     {
                                648                 :              0 :         case PROGRESS_CREATEIDX_SUBPHASE_INITIALIZE:
                                649                 :              0 :             return "initializing";
                                650                 :              0 :         case PROGRESS_BTREE_PHASE_INDEXBUILD_TABLESCAN:
                                651                 :              0 :             return "scanning table";
                                652                 :              0 :         case PROGRESS_BTREE_PHASE_PERFORMSORT_1:
                                653                 :              0 :             return "sorting live tuples";
                                654                 :              0 :         case PROGRESS_BTREE_PHASE_PERFORMSORT_2:
                                655                 :              0 :             return "sorting dead tuples";
                                656                 :              0 :         case PROGRESS_BTREE_PHASE_LEAF_LOAD:
                                657                 :              0 :             return "loading tuples in tree";
                                658                 :              0 :         default:
                                659                 :              0 :             return NULL;
                                660                 :                :     }
                                661                 :                : }
                                662                 :                : 
                                663                 :                : /*
                                664                 :                :  *  _bt_truncate() -- create tuple without unneeded suffix attributes.
                                665                 :                :  *
                                666                 :                :  * Returns truncated pivot index tuple allocated in caller's memory context,
                                667                 :                :  * with key attributes copied from caller's firstright argument.  If rel is
                                668                 :                :  * an INCLUDE index, non-key attributes will definitely be truncated away,
                                669                 :                :  * since they're not part of the key space.  More aggressive suffix
                                670                 :                :  * truncation can take place when it's clear that the returned tuple does not
                                671                 :                :  * need one or more suffix key attributes.  We only need to keep firstright
                                672                 :                :  * attributes up to and including the first non-lastleft-equal attribute.
                                673                 :                :  * Caller's insertion scankey is used to compare the tuples; the scankey's
                                674                 :                :  * argument values are not considered here.
                                675                 :                :  *
                                676                 :                :  * Note that returned tuple's t_tid offset will hold the number of attributes
                                677                 :                :  * present, so the original item pointer offset is not represented.  Caller
                                678                 :                :  * should only change truncated tuple's downlink.  Note also that truncated
                                679                 :                :  * key attributes are treated as containing "minus infinity" values by
                                680                 :                :  * _bt_compare().
                                681                 :                :  *
                                682                 :                :  * In the worst case (when a heap TID must be appended to distinguish lastleft
                                683                 :                :  * from firstright), the size of the returned tuple is the size of firstright
                                684                 :                :  * plus the size of an additional MAXALIGN()'d item pointer.  This guarantee
                                685                 :                :  * is important, since callers need to stay under the 1/3 of a page
                                686                 :                :  * restriction on tuple size.  If this routine is ever taught to truncate
                                687                 :                :  * within an attribute/datum, it will need to avoid returning an enlarged
                                688                 :                :  * tuple to caller when truncation + TOAST compression ends up enlarging the
                                689                 :                :  * final datum.
                                690                 :                :  */
                                691                 :                : IndexTuple
 2659 pg@bowt.ie                692                 :CBC       39553 : _bt_truncate(Relation rel, IndexTuple lastleft, IndexTuple firstright,
                                693                 :                :              BTScanInsert itup_key)
                                694                 :                : {
                                695                 :          39553 :     TupleDesc   itupdesc = RelationGetDescr(rel);
                                696                 :          39553 :     int16       nkeyatts = IndexRelationGetNumberOfKeyAttributes(rel);
                                697                 :                :     int         keepnatts;
                                698                 :                :     IndexTuple  pivot;
                                699                 :                :     IndexTuple  tidpivot;
                                700                 :                :     ItemPointer pivotheaptid;
                                701                 :                :     Size        newsize;
                                702                 :                : 
                                703                 :                :     /*
                                704                 :                :      * We should only ever truncate non-pivot tuples from leaf pages.  It's
                                705                 :                :      * never okay to truncate when splitting an internal page.
                                706                 :                :      */
 2316                           707   [ +  -  -  + ]:          39553 :     Assert(!BTreeTupleIsPivot(lastleft) && !BTreeTupleIsPivot(firstright));
                                708                 :                : 
                                709                 :                :     /* Determine how many attributes must be kept in truncated tuple */
 2659                           710                 :          39553 :     keepnatts = _bt_keep_natts(rel, lastleft, firstright, itup_key);
                                711                 :                : 
                                712                 :                : #ifdef DEBUG_NO_TRUNCATE
                                713                 :                :     /* Force truncation to be ineffective for testing purposes */
                                714                 :                :     keepnatts = nkeyatts + 1;
                                715                 :                : #endif
                                716                 :                : 
 2283                           717                 :          39553 :     pivot = index_truncate_tuple(itupdesc, firstright,
                                718                 :                :                                  Min(keepnatts, nkeyatts));
                                719                 :                : 
                                720         [ +  + ]:          39553 :     if (BTreeTupleIsPosting(pivot))
                                721                 :                :     {
                                722                 :                :         /*
                                723                 :                :          * index_truncate_tuple() just returns a straight copy of firstright
                                724                 :                :          * when it has no attributes to truncate.  When that happens, we may
                                725                 :                :          * need to truncate away a posting list here instead.
                                726                 :                :          */
                                727   [ +  +  -  + ]:            886 :         Assert(keepnatts == nkeyatts || keepnatts == nkeyatts + 1);
                                728         [ -  + ]:            886 :         Assert(IndexRelationGetNumberOfAttributes(rel) == nkeyatts);
                                729                 :            886 :         pivot->t_info &= ~INDEX_SIZE_MASK;
                                730                 :            886 :         pivot->t_info |= MAXALIGN(BTreeTupleGetPostingOffset(firstright));
                                731                 :                :     }
                                732                 :                : 
                                733                 :                :     /*
                                734                 :                :      * If there is a distinguishing key attribute within pivot tuple, we're
                                735                 :                :      * done
                                736                 :                :      */
                                737         [ +  + ]:          39553 :     if (keepnatts <= nkeyatts)
                                738                 :                :     {
 2275                           739                 :          38740 :         BTreeTupleSetNAtts(pivot, keepnatts, false);
 2283                           740                 :          38740 :         return pivot;
                                741                 :                :     }
                                742                 :                : 
                                743                 :                :     /*
                                744                 :                :      * We have to store a heap TID in the new pivot tuple, since no non-TID
                                745                 :                :      * key attribute value in firstright distinguishes the right side of the
                                746                 :                :      * split from the left side.  nbtree conceptualizes this case as an
                                747                 :                :      * inability to truncate away any key attributes, since heap TID is
                                748                 :                :      * treated as just another key attribute (despite lacking a pg_attribute
                                749                 :                :      * entry).
                                750                 :                :      *
                                751                 :                :      * Use enlarged space that holds a copy of pivot.  We need the extra space
                                752                 :                :      * to store a heap TID at the end (using the special pivot tuple
                                753                 :                :      * representation).  Note that the original pivot already has firstright's
                                754                 :                :      * possible posting list/non-key attribute values removed at this point.
                                755                 :                :      */
                                756                 :            813 :     newsize = MAXALIGN(IndexTupleSize(pivot)) + MAXALIGN(sizeof(ItemPointerData));
                                757                 :            813 :     tidpivot = palloc0(newsize);
                                758                 :            813 :     memcpy(tidpivot, pivot, MAXALIGN(IndexTupleSize(pivot)));
                                759                 :                :     /* Cannot leak memory here */
                                760                 :            813 :     pfree(pivot);
                                761                 :                : 
                                762                 :                :     /*
                                763                 :                :      * Store all of firstright's key attribute values plus a tiebreaker heap
                                764                 :                :      * TID value in enlarged pivot tuple
                                765                 :                :      */
                                766                 :            813 :     tidpivot->t_info &= ~INDEX_SIZE_MASK;
                                767                 :            813 :     tidpivot->t_info |= newsize;
 2275                           768                 :            813 :     BTreeTupleSetNAtts(tidpivot, nkeyatts, true);
 2283                           769                 :            813 :     pivotheaptid = BTreeTupleGetHeapTID(tidpivot);
                                770                 :                : 
                                771                 :                :     /*
                                772                 :                :      * Lehman & Yao use lastleft as the leaf high key in all cases, but don't
                                773                 :                :      * consider suffix truncation.  It seems like a good idea to follow that
                                774                 :                :      * example in cases where no truncation takes place -- use lastleft's heap
                                775                 :                :      * TID.  (This is also the closest value to negative infinity that's
                                776                 :                :      * legally usable.)
                                777                 :                :      */
 2316                           778                 :            813 :     ItemPointerCopy(BTreeTupleGetMaxHeapTID(lastleft), pivotheaptid);
                                779                 :                : 
                                780                 :                :     /*
                                781                 :                :      * We're done.  Assert() that heap TID invariants hold before returning.
                                782                 :                :      *
                                783                 :                :      * Lehman and Yao require that the downlink to the right page, which is to
                                784                 :                :      * be inserted into the parent page in the second phase of a page split be
                                785                 :                :      * a strict lower bound on items on the right page, and a non-strict upper
                                786                 :                :      * bound for items on the left page.  Assert that heap TIDs follow these
                                787                 :                :      * invariants, since a heap TID value is apparently needed as a
                                788                 :                :      * tiebreaker.
                                789                 :                :      */
                                790                 :                : #ifndef DEBUG_NO_TRUNCATE
                                791         [ -  + ]:            813 :     Assert(ItemPointerCompare(BTreeTupleGetMaxHeapTID(lastleft),
                                792                 :                :                               BTreeTupleGetHeapTID(firstright)) < 0);
                                793         [ -  + ]:            813 :     Assert(ItemPointerCompare(pivotheaptid,
                                794                 :                :                               BTreeTupleGetHeapTID(lastleft)) >= 0);
                                795         [ -  + ]:            813 :     Assert(ItemPointerCompare(pivotheaptid,
                                796                 :                :                               BTreeTupleGetHeapTID(firstright)) < 0);
                                797                 :                : #else
                                798                 :                : 
                                799                 :                :     /*
                                800                 :                :      * Those invariants aren't guaranteed to hold for lastleft + firstright
                                801                 :                :      * heap TID attribute values when they're considered here only because
                                802                 :                :      * DEBUG_NO_TRUNCATE is defined (a heap TID is probably not actually
                                803                 :                :      * needed as a tiebreaker).  DEBUG_NO_TRUNCATE must therefore use a heap
                                804                 :                :      * TID value that always works as a strict lower bound for items to the
                                805                 :                :      * right.  In particular, it must avoid using firstright's leading key
                                806                 :                :      * attribute values along with lastleft's heap TID value when lastleft's
                                807                 :                :      * TID happens to be greater than firstright's TID.
                                808                 :                :      */
                                809                 :                :     ItemPointerCopy(BTreeTupleGetHeapTID(firstright), pivotheaptid);
                                810                 :                : 
                                811                 :                :     /*
                                812                 :                :      * Pivot heap TID should never be fully equal to firstright.  Note that
                                813                 :                :      * the pivot heap TID will still end up equal to lastleft's heap TID when
                                814                 :                :      * that's the only usable value.
                                815                 :                :      */
                                816                 :                :     ItemPointerSetOffsetNumber(pivotheaptid,
                                817                 :                :                                OffsetNumberPrev(ItemPointerGetOffsetNumber(pivotheaptid)));
                                818                 :                :     Assert(ItemPointerCompare(pivotheaptid,
                                819                 :                :                               BTreeTupleGetHeapTID(firstright)) < 0);
                                820                 :                : #endif
                                821                 :                : 
 2283                           822                 :            813 :     return tidpivot;
                                823                 :                : }
                                824                 :                : 
                                825                 :                : /*
                                826                 :                :  * _bt_keep_natts - how many key attributes to keep when truncating.
                                827                 :                :  *
                                828                 :                :  * Caller provides two tuples that enclose a split point.  Caller's insertion
                                829                 :                :  * scankey is used to compare the tuples; the scankey's argument values are
                                830                 :                :  * not considered here.
                                831                 :                :  *
                                832                 :                :  * This can return a number of attributes that is one greater than the
                                833                 :                :  * number of key attributes for the index relation.  This indicates that the
                                834                 :                :  * caller must use a heap TID as a unique-ifier in new pivot tuple.
                                835                 :                :  */
                                836                 :                : static int
 2659                           837                 :          39553 : _bt_keep_natts(Relation rel, IndexTuple lastleft, IndexTuple firstright,
                                838                 :                :                BTScanInsert itup_key)
                                839                 :                : {
                                840                 :          39553 :     int         nkeyatts = IndexRelationGetNumberOfKeyAttributes(rel);
                                841                 :          39553 :     TupleDesc   itupdesc = RelationGetDescr(rel);
                                842                 :                :     int         keepnatts;
                                843                 :                :     ScanKey     scankey;
                                844                 :                : 
                                845                 :                :     /*
                                846                 :                :      * _bt_compare() treats truncated key attributes as having the value minus
                                847                 :                :      * infinity, which would break searches within !heapkeyspace indexes.  We
                                848                 :                :      * must still truncate away non-key attribute values, though.
                                849                 :                :      */
                                850         [ -  + ]:          39553 :     if (!itup_key->heapkeyspace)
 2659 pg@bowt.ie                851                 :UBC           0 :         return nkeyatts;
                                852                 :                : 
 2659 pg@bowt.ie                853                 :CBC       39553 :     scankey = itup_key->scankeys;
                                854                 :          39553 :     keepnatts = 1;
                                855         [ +  + ]:          48089 :     for (int attnum = 1; attnum <= nkeyatts; attnum++, scankey++)
                                856                 :                :     {
                                857                 :                :         Datum       datum1,
                                858                 :                :                     datum2;
                                859                 :                :         bool        isNull1,
                                860                 :                :                     isNull2;
                                861                 :                : 
                                862                 :          47276 :         datum1 = index_getattr(lastleft, attnum, itupdesc, &isNull1);
                                863                 :          47276 :         datum2 = index_getattr(firstright, attnum, itupdesc, &isNull2);
                                864                 :                : 
                                865         [ -  + ]:          47276 :         if (isNull1 != isNull2)
                                866                 :          38740 :             break;
                                867                 :                : 
                                868   [ +  +  +  + ]:          94537 :         if (!isNull1 &&
                                869                 :          47261 :             DatumGetInt32(FunctionCall2Coll(&scankey->sk_func,
                                870                 :                :                                             scankey->sk_collation,
                                871                 :                :                                             datum1,
                                872                 :                :                                             datum2)) != 0)
                                873                 :          38740 :             break;
                                874                 :                : 
                                875                 :           8536 :         keepnatts++;
                                876                 :                :     }
                                877                 :                : 
                                878                 :                :     /*
                                879                 :                :      * Assert that _bt_keep_natts_fast() agrees with us in passing.  This is
                                880                 :                :      * expected in an allequalimage index.
                                881                 :                :      */
 2316                           882   [ +  +  -  + ]:          39553 :     Assert(!itup_key->allequalimage ||
                                883                 :                :            keepnatts == _bt_keep_natts_fast(rel, lastleft, firstright));
                                884                 :                : 
 2659                           885                 :          39553 :     return keepnatts;
                                886                 :                : }
                                887                 :                : 
                                888                 :                : /*
                                889                 :                :  * _bt_keep_natts_fast - fast bitwise variant of _bt_keep_natts.
                                890                 :                :  *
                                891                 :                :  * This is exported so that a candidate split point can have its effect on
                                892                 :                :  * suffix truncation inexpensively evaluated ahead of time when finding a
                                893                 :                :  * split location.  A naive bitwise approach to datum comparisons is used to
                                894                 :                :  * save cycles.
                                895                 :                :  *
                                896                 :                :  * The approach taken here usually provides the same answer as _bt_keep_natts
                                897                 :                :  * will (for the same pair of tuples from a heapkeyspace index), since the
                                898                 :                :  * majority of btree opclasses can never indicate that two datums are equal
                                899                 :                :  * unless they're bitwise equal after detoasting.  When an index only has
                                900                 :                :  * "equal image" columns, routine is guaranteed to give the same result as
                                901                 :                :  * _bt_keep_natts would.
                                902                 :                :  *
                                903                 :                :  * Callers can rely on the fact that attributes considered equal here are
                                904                 :                :  * definitely also equal according to _bt_keep_natts, even when the index uses
                                905                 :                :  * an opclass or collation that is not "allequalimage"/deduplication-safe.
                                906                 :                :  * This weaker guarantee is good enough for nbtsplitloc.c caller, since false
                                907                 :                :  * negatives generally only have the effect of making leaf page splits use a
                                908                 :                :  * more balanced split point.
                                909                 :                :  */
                                910                 :                : int
                                911                 :        9789375 : _bt_keep_natts_fast(Relation rel, IndexTuple lastleft, IndexTuple firstright)
                                912                 :                : {
                                913                 :        9789375 :     TupleDesc   itupdesc = RelationGetDescr(rel);
                                914                 :        9789375 :     int         keysz = IndexRelationGetNumberOfKeyAttributes(rel);
                                915                 :                :     int         keepnatts;
                                916                 :                : 
                                917                 :        9789375 :     keepnatts = 1;
                                918         [ +  + ]:       16143412 :     for (int attnum = 1; attnum <= keysz; attnum++)
                                919                 :                :     {
                                920                 :                :         Datum       datum1,
                                921                 :                :                     datum2;
                                922                 :                :         bool        isNull1,
                                923                 :                :                     isNull2;
                                924                 :                :         CompactAttribute *att;
                                925                 :                : 
                                926                 :       14388402 :         datum1 = index_getattr(lastleft, attnum, itupdesc, &isNull1);
                                927                 :       14388402 :         datum2 = index_getattr(firstright, attnum, itupdesc, &isNull2);
  557 drowley@postgresql.o      928                 :       14388402 :         att = TupleDescCompactAttr(itupdesc, attnum - 1);
                                929                 :                : 
 2659 pg@bowt.ie                930         [ +  + ]:       14388402 :         if (isNull1 != isNull2)
                                931                 :        8034365 :             break;
                                932                 :                : 
                                933         [ +  + ]:       14388266 :         if (!isNull1 &&
 2422                           934         [ +  + ]:       14363681 :             !datum_image_eq(datum1, datum2, att->attbyval, att->attlen))
 2659                           935                 :        8034229 :             break;
                                936                 :                : 
                                937                 :        6354037 :         keepnatts++;
                                938                 :                :     }
                                939                 :                : 
                                940                 :        9789375 :     return keepnatts;
                                941                 :                : }
                                942                 :                : 
                                943                 :                : /*
                                944                 :                :  *  _bt_check_natts() -- Verify tuple has expected number of attributes.
                                945                 :                :  *
                                946                 :                :  * Returns value indicating if the expected number of attributes were found
                                947                 :                :  * for a particular offset on page.  This can be used as a general purpose
                                948                 :                :  * sanity check.
                                949                 :                :  *
                                950                 :                :  * Testing a tuple directly with BTreeTupleGetNAtts() should generally be
                                951                 :                :  * preferred to calling here.  That's usually more convenient, and is always
                                952                 :                :  * more explicit.  Call here instead when offnum's tuple may be a negative
                                953                 :                :  * infinity tuple that uses the pre-v11 on-disk representation, or when a low
                                954                 :                :  * context check is appropriate.  This routine is as strict as possible about
                                955                 :                :  * what is expected on each version of btree.
                                956                 :                :  */
                                957                 :                : bool
                                958                 :      194565838 : _bt_check_natts(Relation rel, bool heapkeyspace, Page page, OffsetNumber offnum)
                                959                 :                : {
 2987 tgl@sss.pgh.pa.us         960                 :      194565838 :     int16       natts = IndexRelationGetNumberOfAttributes(rel);
                                961                 :      194565838 :     int16       nkeyatts = IndexRelationGetNumberOfKeyAttributes(rel);
 1551 michael@paquier.xyz       962                 :      194565838 :     BTPageOpaque opaque = BTPageGetOpaque(page);
                                963                 :                :     IndexTuple  itup;
                                964                 :                :     int         tupnatts;
                                965                 :                : 
                                966                 :                :     /*
                                967                 :                :      * We cannot reliably test a deleted or half-dead page, since they have
                                968                 :                :      * dummy high keys
                                969                 :                :      */
 2994 teodor@sigaev.ru          970         [ -  + ]:      194565838 :     if (P_IGNORE(opaque))
 2994 teodor@sigaev.ru          971                 :UBC           0 :         return true;
                                972                 :                : 
 2994 teodor@sigaev.ru          973   [ +  -  -  + ]:CBC   194565838 :     Assert(offnum >= FirstOffsetNumber &&
                                974                 :                :            offnum <= PageGetMaxOffsetNumber(page));
                                975                 :                : 
                                976                 :      194565838 :     itup = (IndexTuple) PageGetItem(page, PageGetItemId(page, offnum));
 2659 pg@bowt.ie                977         [ +  + ]:      194565838 :     tupnatts = BTreeTupleGetNAtts(itup, rel);
                                978                 :                : 
                                979                 :                :     /* !heapkeyspace indexes do not support deduplication */
 2316                           980   [ -  +  -  - ]:      194565838 :     if (!heapkeyspace && BTreeTupleIsPosting(itup))
 2316 pg@bowt.ie                981                 :UBC           0 :         return false;
                                982                 :                : 
                                983                 :                :     /* Posting list tuples should never have "pivot heap TID" bit set */
 2316 pg@bowt.ie                984         [ +  + ]:CBC   194565838 :     if (BTreeTupleIsPosting(itup) &&
                                985         [ -  + ]:        2173961 :         (ItemPointerGetOffsetNumberNoCheck(&itup->t_tid) &
                                986                 :                :          BT_PIVOT_HEAP_TID_ATTR) != 0)
 2316 pg@bowt.ie                987                 :UBC           0 :         return false;
                                988                 :                : 
                                989                 :                :     /* INCLUDE indexes do not support deduplication */
 2316 pg@bowt.ie                990   [ +  +  -  + ]:CBC   194565838 :     if (natts != nkeyatts && BTreeTupleIsPosting(itup))
 2316 pg@bowt.ie                991                 :UBC           0 :         return false;
                                992                 :                : 
 2994 teodor@sigaev.ru          993         [ +  + ]:CBC   194565838 :     if (P_ISLEAF(opaque))
                                994                 :                :     {
                                995   [ +  +  +  + ]:      138799567 :         if (offnum >= P_FIRSTDATAKEY(opaque))
                                996                 :                :         {
                                997                 :                :             /*
                                998                 :                :              * Non-pivot tuple should never be explicitly marked as a pivot
                                999                 :                :              * tuple
                               1000                 :                :              */
 2316 pg@bowt.ie               1001         [ -  + ]:      128013365 :             if (BTreeTupleIsPivot(itup))
 2659 pg@bowt.ie               1002                 :UBC           0 :                 return false;
                               1003                 :                : 
                               1004                 :                :             /*
                               1005                 :                :              * Leaf tuples that are not the page high key (non-pivot tuples)
                               1006                 :                :              * should never be truncated.  (Note that tupnatts must have been
                               1007                 :                :              * inferred, even with a posting list tuple, because only pivot
                               1008                 :                :              * tuples store tupnatts directly.)
                               1009                 :                :              */
 2659 pg@bowt.ie               1010                 :CBC   128013365 :             return tupnatts == natts;
                               1011                 :                :         }
                               1012                 :                :         else
                               1013                 :                :         {
                               1014                 :                :             /*
                               1015                 :                :              * Rightmost page doesn't contain a page high key, so tuple was
                               1016                 :                :              * checked above as ordinary leaf tuple
                               1017                 :                :              */
 2994 teodor@sigaev.ru         1018         [ -  + ]:       10786202 :             Assert(!P_RIGHTMOST(opaque));
                               1019                 :                : 
                               1020                 :                :             /*
                               1021                 :                :              * !heapkeyspace high key tuple contains only key attributes. Note
                               1022                 :                :              * that tupnatts will only have been explicitly represented in
                               1023                 :                :              * !heapkeyspace indexes that happen to have non-key attributes.
                               1024                 :                :              */
 2659 pg@bowt.ie               1025         [ -  + ]:       10786202 :             if (!heapkeyspace)
 2659 pg@bowt.ie               1026                 :UBC           0 :                 return tupnatts == nkeyatts;
                               1027                 :                : 
                               1028                 :                :             /* Use generic heapkeyspace pivot tuple handling */
                               1029                 :                :         }
                               1030                 :                :     }
                               1031                 :                :     else                        /* !P_ISLEAF(opaque) */
                               1032                 :                :     {
 2994 teodor@sigaev.ru         1033   [ +  +  +  + ]:CBC    55766271 :         if (offnum == P_FIRSTDATAKEY(opaque))
                               1034                 :                :         {
                               1035                 :                :             /*
                               1036                 :                :              * The first tuple on any internal page (possibly the first after
                               1037                 :                :              * its high key) is its negative infinity tuple.  Negative
                               1038                 :                :              * infinity tuples are always truncated to zero attributes.  They
                               1039                 :                :              * are a particular kind of pivot tuple.
                               1040                 :                :              */
 2659 pg@bowt.ie               1041         [ +  - ]:        2257126 :             if (heapkeyspace)
                               1042                 :        2257126 :                 return tupnatts == 0;
                               1043                 :                : 
                               1044                 :                :             /*
                               1045                 :                :              * The number of attributes won't be explicitly represented if the
                               1046                 :                :              * negative infinity tuple was generated during a page split that
                               1047                 :                :              * occurred with a version of Postgres before v11.  There must be
                               1048                 :                :              * a problem when there is an explicit representation that is
                               1049                 :                :              * non-zero, or when there is no explicit representation and the
                               1050                 :                :              * tuple is evidently not a pre-pg_upgrade tuple.
                               1051                 :                :              *
                               1052                 :                :              * Prior to v11, downlinks always had P_HIKEY as their offset.
                               1053                 :                :              * Accept that as an alternative indication of a valid
                               1054                 :                :              * !heapkeyspace negative infinity tuple.
                               1055                 :                :              */
 2659 pg@bowt.ie               1056   [ #  #  #  # ]:UBC           0 :             return tupnatts == 0 ||
 2316                          1057                 :              0 :                 ItemPointerGetOffsetNumber(&(itup->t_tid)) == P_HIKEY;
                               1058                 :                :         }
                               1059                 :                :         else
                               1060                 :                :         {
                               1061                 :                :             /*
                               1062                 :                :              * !heapkeyspace downlink tuple with separator key contains only
                               1063                 :                :              * key attributes.  Note that tupnatts will only have been
                               1064                 :                :              * explicitly represented in !heapkeyspace indexes that happen to
                               1065                 :                :              * have non-key attributes.
                               1066                 :                :              */
 2659 pg@bowt.ie               1067         [ -  + ]:CBC    53509145 :             if (!heapkeyspace)
 2659 pg@bowt.ie               1068                 :UBC           0 :                 return tupnatts == nkeyatts;
                               1069                 :                : 
                               1070                 :                :             /* Use generic heapkeyspace pivot tuple handling */
                               1071                 :                :         }
                               1072                 :                :     }
                               1073                 :                : 
                               1074                 :                :     /* Handle heapkeyspace pivot tuples (excluding minus infinity items) */
 2659 pg@bowt.ie               1075         [ -  + ]:CBC    64295347 :     Assert(heapkeyspace);
                               1076                 :                : 
                               1077                 :                :     /*
                               1078                 :                :      * Explicit representation of the number of attributes is mandatory with
                               1079                 :                :      * heapkeyspace index pivot tuples, regardless of whether or not there are
                               1080                 :                :      * non-key attributes.
                               1081                 :                :      */
 2316                          1082         [ -  + ]:       64295347 :     if (!BTreeTupleIsPivot(itup))
 2316 pg@bowt.ie               1083                 :UBC           0 :         return false;
                               1084                 :                : 
                               1085                 :                :     /* Pivot tuple should not use posting list representation (redundant) */
 2316 pg@bowt.ie               1086         [ -  + ]:CBC    64295347 :     if (BTreeTupleIsPosting(itup))
 2659 pg@bowt.ie               1087                 :UBC           0 :         return false;
                               1088                 :                : 
                               1089                 :                :     /*
                               1090                 :                :      * Heap TID is a tiebreaker key attribute, so it cannot be untruncated
                               1091                 :                :      * when any other key attribute is truncated
                               1092                 :                :      */
 2659 pg@bowt.ie               1093   [ +  +  -  + ]:CBC    64295347 :     if (BTreeTupleGetHeapTID(itup) != NULL && tupnatts != nkeyatts)
 2659 pg@bowt.ie               1094                 :UBC           0 :         return false;
                               1095                 :                : 
                               1096                 :                :     /*
                               1097                 :                :      * Pivot tuple must have at least one untruncated key attribute (minus
                               1098                 :                :      * infinity pivot tuples are the only exception).  Pivot tuples can never
                               1099                 :                :      * represent that there is a value present for a key attribute that
                               1100                 :                :      * exceeds pg_index.indnkeyatts for the index.
                               1101                 :                :      */
 2659 pg@bowt.ie               1102   [ +  -  +  - ]:CBC    64295347 :     return tupnatts > 0 && tupnatts <= nkeyatts;
                               1103                 :                : }
                               1104                 :                : 
                               1105                 :                : /*
                               1106                 :                :  *
                               1107                 :                :  *  _bt_check_third_page() -- check whether tuple fits on a btree page at all.
                               1108                 :                :  *
                               1109                 :                :  * We actually need to be able to fit three items on every page, so restrict
                               1110                 :                :  * any one item to 1/3 the per-page available space.  Note that itemsz should
                               1111                 :                :  * not include the ItemId overhead.
                               1112                 :                :  *
                               1113                 :                :  * It might be useful to apply TOAST methods rather than throw an error here.
                               1114                 :                :  * Using out of line storage would break assumptions made by suffix truncation
                               1115                 :                :  * and by contrib/amcheck, though.
                               1116                 :                :  */
                               1117                 :                : void
                               1118                 :            176 : _bt_check_third_page(Relation rel, Relation heap, bool needheaptidspace,
                               1119                 :                :                      Page page, IndexTuple newtup)
                               1120                 :                : {
                               1121                 :                :     Size        itemsz;
                               1122                 :                :     BTPageOpaque opaque;
                               1123                 :                : 
                               1124                 :            176 :     itemsz = MAXALIGN(IndexTupleSize(newtup));
                               1125                 :                : 
                               1126                 :                :     /* Double check item size against limit */
  476                          1127         [ -  + ]:            176 :     if (itemsz <= BTMaxItemSize)
 2659 pg@bowt.ie               1128                 :UBC           0 :         return;
                               1129                 :                : 
                               1130                 :                :     /*
                               1131                 :                :      * Tuple is probably too large to fit on page, but it's possible that the
                               1132                 :                :      * index uses version 2 or version 3, or that page is an internal page, in
                               1133                 :                :      * which case a slightly higher limit applies.
                               1134                 :                :      */
  476 pg@bowt.ie               1135   [ +  -  +  - ]:CBC         176 :     if (!needheaptidspace && itemsz <= BTMaxItemSizeNoHeapTid)
 2659                          1136                 :            176 :         return;
                               1137                 :                : 
                               1138                 :                :     /*
                               1139                 :                :      * Internal page insertions cannot fail here, because that would mean that
                               1140                 :                :      * an earlier leaf level insertion that should have failed didn't
                               1141                 :                :      */
 1551 michael@paquier.xyz      1142                 :UBC           0 :     opaque = BTPageGetOpaque(page);
 2659 pg@bowt.ie               1143         [ #  # ]:              0 :     if (!P_ISLEAF(opaque))
                               1144         [ #  # ]:              0 :         elog(ERROR, "cannot insert oversized tuple of size %zu on internal page of index \"%s\"",
                               1145                 :                :              itemsz, RelationGetRelationName(rel));
                               1146                 :                : 
                               1147   [ #  #  #  #  :              0 :     ereport(ERROR,
                                              #  # ]
                               1148                 :                :             (errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
                               1149                 :                :              errmsg("index row size %zu exceeds btree version %u maximum %zu for index \"%s\"",
                               1150                 :                :                     itemsz,
                               1151                 :                :                     needheaptidspace ? BTREE_VERSION : BTREE_NOVAC_VERSION,
                               1152                 :                :                     needheaptidspace ? BTMaxItemSize : BTMaxItemSizeNoHeapTid,
                               1153                 :                :                     RelationGetRelationName(rel)),
                               1154                 :                :              errdetail("Index row references tuple (%u,%u) in relation \"%s\".",
                               1155                 :                :                        ItemPointerGetBlockNumber(BTreeTupleGetHeapTID(newtup)),
                               1156                 :                :                        ItemPointerGetOffsetNumber(BTreeTupleGetHeapTID(newtup)),
                               1157                 :                :                        RelationGetRelationName(heap)),
                               1158                 :                :              errhint("Values larger than 1/3 of a buffer page cannot be indexed.\n"
                               1159                 :                :                      "Consider a function index of an MD5 hash of the value, "
                               1160                 :                :                      "or use full text indexing."),
                               1161                 :                :              errtableconstraint(heap, RelationGetRelationName(rel))));
                               1162                 :                : }
                               1163                 :                : 
                               1164                 :                : /*
                               1165                 :                :  * Are all attributes in rel "equality is image equality" attributes?
                               1166                 :                :  *
                               1167                 :                :  * We use each attribute's BTEQUALIMAGE_PROC opclass procedure.  If any
                               1168                 :                :  * opclass either lacks a BTEQUALIMAGE_PROC procedure or returns false, we
                               1169                 :                :  * return false; otherwise we return true.
                               1170                 :                :  *
                               1171                 :                :  * Returned boolean value is stored in index metapage during index builds.
                               1172                 :                :  * Deduplication can only be used when we return true.
                               1173                 :                :  */
                               1174                 :                : bool
 2316 pg@bowt.ie               1175                 :CBC       36772 : _bt_allequalimage(Relation rel, bool debugmessage)
                               1176                 :                : {
                               1177                 :          36772 :     bool        allequalimage = true;
                               1178                 :                : 
                               1179                 :                :     /* INCLUDE indexes can never support deduplication */
                               1180                 :          36772 :     if (IndexRelationGetNumberOfAttributes(rel) !=
                               1181         [ +  + ]:          36772 :         IndexRelationGetNumberOfKeyAttributes(rel))
                               1182                 :            166 :         return false;
                               1183                 :                : 
                               1184         [ +  + ]:          95953 :     for (int i = 0; i < IndexRelationGetNumberOfKeyAttributes(rel); i++)
                               1185                 :                :     {
                               1186                 :          59728 :         Oid         opfamily = rel->rd_opfamily[i];
                               1187                 :          59728 :         Oid         opcintype = rel->rd_opcintype[i];
                               1188                 :          59728 :         Oid         collation = rel->rd_indcollation[i];
                               1189                 :                :         Oid         equalimageproc;
                               1190                 :                : 
                               1191                 :          59728 :         equalimageproc = get_opfamily_proc(opfamily, opcintype, opcintype,
                               1192                 :                :                                            BTEQUALIMAGE_PROC);
                               1193                 :                : 
                               1194                 :                :         /*
                               1195                 :                :          * If there is no BTEQUALIMAGE_PROC then deduplication is assumed to
                               1196                 :                :          * be unsafe.  Otherwise, actually call proc and see what it says.
                               1197                 :                :          */
                               1198         [ +  + ]:          59728 :         if (!OidIsValid(equalimageproc) ||
                               1199         [ +  + ]:          59376 :             !DatumGetBool(OidFunctionCall1Coll(equalimageproc, collation,
                               1200                 :                :                                                ObjectIdGetDatum(opcintype))))
                               1201                 :                :         {
                               1202                 :            381 :             allequalimage = false;
                               1203                 :            381 :             break;
                               1204                 :                :         }
                               1205                 :                :     }
                               1206                 :                : 
                               1207         [ +  + ]:          36606 :     if (debugmessage)
                               1208                 :                :     {
                               1209         [ +  + ]:          32274 :         if (allequalimage)
                               1210         [ +  + ]:          31893 :             elog(DEBUG1, "index \"%s\" can safely use deduplication",
                               1211                 :                :                  RelationGetRelationName(rel));
                               1212                 :                :         else
                               1213         [ -  + ]:            381 :             elog(DEBUG1, "index \"%s\" cannot use deduplication",
                               1214                 :                :                  RelationGetRelationName(rel));
                               1215                 :                :     }
                               1216                 :                : 
                               1217                 :          36606 :     return allequalimage;
                               1218                 :                : }
                               1219                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1220                 :                : /* (content generated from coverage data) */
                               1221                 :                : /* ... */
                               1222                 :                : /* ... */
                               1223                 :                : /* ... */
                               1224                 :                : /* ... */
                               1225                 :                : /* ... */
                               1226                 :                : /* ... */
                               1227                 :                : /* ... */
                               1228                 :                : /* ... */
                               1229                 :                : /* ... */
                               1230                 :                : /* ... */
                               1231                 :                : /* ... */
                               1232                 :                : /* ... */
                               1233                 :                : /* ... */
                               1234                 :                : /* ... */
                               1235                 :                : /* ... */
                               1236                 :                : /* ... */
                               1237                 :                : /* ... */
                               1238                 :                : /* ... */
                               1239                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1240                 :                : /* (content generated from coverage data) */
                               1241                 :                : /* ... */
                               1242                 :                : /* ... */
                               1243                 :                : /* ... */
                               1244                 :                : /* ... */
                               1245                 :                : /* ... */
                               1246                 :                : /* ... */
                               1247                 :                : /* ... */
                               1248                 :                : /* ... */
                               1249                 :                : /* ... */
                               1250                 :                : /* ... */
                               1251                 :                : /* ... */
                               1252                 :                : /* ... */
                               1253                 :                : /* ... */
                               1254                 :                : /* ... */
                               1255                 :                : /* ... */
                               1256                 :                : /* ... */
                               1257                 :                : /* ... */
                               1258                 :                : /* ... */
                               1259                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1260                 :                : /* (content generated from coverage data) */
                               1261                 :                : /* ... */
                               1262                 :                : /* ... */
                               1263                 :                : /* ... */
                               1264                 :                : /* ... */
                               1265                 :                : /* ... */
                               1266                 :                : /* ... */
                               1267                 :                : /* ... */
                               1268                 :                : /* ... */
                               1269                 :                : /* ... */
                               1270                 :                : /* BEGIN: function "_bt_start_prim_scan" */
                               1271                 :                : /* ... */
                               1272                 :                : /* ... */
                               1273                 :                : /* ... */
                               1274                 :                : /* ... */
                               1275                 :                : /* ... */
                               1276                 :                : /* ... */
                               1277                 :                : /* ... */
                               1278                 :                : /* ... */
                               1279                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1280                 :                : /* (content generated from coverage data) */
                               1281                 :                : /* ... */
                               1282                 :                : /* ... */
                               1283                 :                : /* ... */
                               1284                 :                : /* ... */
                               1285                 :                : /* ... */
                               1286                 :                : /* ... */
                               1287                 :                : /* ... */
                               1288                 :                : /* ... */
                               1289                 :                : /* ... */
                               1290                 :                : /* ... */
                               1291                 :                : /* ... */
                               1292                 :                : /* ... */
                               1293                 :                : /* ... */
                               1294                 :                : /* ... */
                               1295                 :                : /* ... */
                               1296                 :                : /* ... */
                               1297                 :                : /* ... */
                               1298                 :                : /* ... */
                               1299                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1300                 :                : /* (content generated from coverage data) */
                               1301                 :                : /* ... */
                               1302                 :                : /* ... */
                               1303                 :                : /* ... */
                               1304                 :                : /* ... */
                               1305                 :                : /* ... */
                               1306                 :                : /* ... */
                               1307                 :                : /* ... */
                               1308                 :                : /* ... */
                               1309                 :                : /* ... */
                               1310                 :                : /* ... */
                               1311                 :                : /* ... */
                               1312                 :                : /* ... */
                               1313                 :                : /* ... */
                               1314                 :                : /* ... */
                               1315                 :                : /* ... */
                               1316                 :                : /* ... */
                               1317                 :                : /* ... */
                               1318                 :                : /* ... */
                               1319                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1320                 :                : /* (content generated from coverage data) */
                               1321                 :                : /* ... */
                               1322                 :                : /* ... */
                               1323                 :                : /* ... */
                               1324                 :                : /* ... */
                               1325                 :                : /* ... */
                               1326                 :                : /* ... */
                               1327                 :                : /* ... */
                               1328                 :                : /* ... */
                               1329                 :                : /* ... */
                               1330                 :                : /* ... */
                               1331                 :                : /* ... */
                               1332                 :                : /* ... */
                               1333                 :                : /* ... */
                               1334                 :                : /* ... */
                               1335                 :                : /* ... */
                               1336                 :                : /* ... */
                               1337                 :                : /* ... */
                               1338                 :                : /* ... */
                               1339                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1340                 :                : /* (content generated from coverage data) */
                               1341                 :                : /* ... */
                               1342                 :                : /* ... */
                               1343                 :                : /* ... */
                               1344                 :                : /* ... */
                               1345                 :                : /* ... */
                               1346                 :                : /* ... */
                               1347                 :                : /* ... */
                               1348                 :                : /* ... */
                               1349                 :                : /* ... */
                               1350                 :                : /* ... */
                               1351                 :                : /* ... */
                               1352                 :                : /* ... */
                               1353                 :                : /* ... */
                               1354                 :                : /* ... */
                               1355                 :                : /* ... */
                               1356                 :                : /* ... */
                               1357                 :                : /* ... */
                               1358                 :                : /* ... */
                               1359                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1360                 :                : /* (content generated from coverage data) */
                               1361                 :                : /* ... */
                               1362                 :                : /* ... */
                               1363                 :                : /* ... */
                               1364                 :                : /* ... */
                               1365                 :                : /* ... */
                               1366                 :                : /* ... */
                               1367                 :                : /* ... */
                               1368                 :                : /* ... */
                               1369                 :                : /* ... */
                               1370                 :                : /* ... */
                               1371                 :                : /* ... */
                               1372                 :                : /* ... */
                               1373                 :                : /* ... */
                               1374                 :                : /* ... */
                               1375                 :                : /* ... */
                               1376                 :                : /* ... */
                               1377                 :                : /* ... */
                               1378                 :                : /* ... */
                               1379                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1380                 :                : /* (content generated from coverage data) */
                               1381                 :                : /* ... */
                               1382                 :                : /* ... */
                               1383                 :                : /* ... */
                               1384                 :                : /* ... */
                               1385                 :                : /* ... */
                               1386                 :                : /* ... */
                               1387                 :                : /* ... */
                               1388                 :                : /* ... */
                               1389                 :                : /* BEGIN: function "_bt_advance_array_keys" */
                               1390                 :                : /* ... */
                               1391                 :                : /* ... */
                               1392                 :                : /* ... */
                               1393                 :                : /* ... */
                               1394                 :                : /* ... */
                               1395                 :                : /* ... */
                               1396                 :                : /* ... */
                               1397                 :                : /* ... */
                               1398                 :                : /* ... */
                               1399                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1400                 :                : /* (content generated from coverage data) */
                               1401                 :                : /* ... */
                               1402                 :                : /* ... */
                               1403                 :                : /* ... */
                               1404                 :                : /* ... */
                               1405                 :                : /* ... */
                               1406                 :                : /* ... */
                               1407                 :                : /* ... */
                               1408                 :                : /* ... */
                               1409                 :                : /* ... */
                               1410                 :                : /* ... */
                               1411                 :                : /* ... */
                               1412                 :                : /* ... */
                               1413                 :                : /* ... */
                               1414                 :                : /* ... */
                               1415                 :                : /* ... */
                               1416                 :                : /* ... */
                               1417                 :                : /* ... */
                               1418                 :                : /* ... */
                               1419                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1420                 :                : /* (content generated from coverage data) */
                               1421                 :                : /* ... */
                               1422                 :                : /* ... */
                               1423                 :                : /* ... */
                               1424                 :                : /* ... */
                               1425                 :                : /* ... */
                               1426                 :                : /* ... */
                               1427                 :                : /* ... */
                               1428                 :                : /* ... */
                               1429                 :                : /* ... */
                               1430                 :                : /* ... */
                               1431                 :                : /* ... */
                               1432                 :                : /* ... */
                               1433                 :                : /* ... */
                               1434                 :                : /* ... */
                               1435                 :                : /* ... */
                               1436                 :                : /* ... */
                               1437                 :                : /* ... */
                               1438                 :                : /* ... */
                               1439                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1440                 :                : /* (content generated from coverage data) */
                               1441                 :                : /* ... */
                               1442                 :                : /* ... */
                               1443                 :                : /* ... */
                               1444                 :                : /* ... */
                               1445                 :                : /* ... */
                               1446                 :                : /* ... */
                               1447                 :                : /* ... */
                               1448                 :                : /* ... */
                               1449                 :                : /* ... */
                               1450                 :                : /* ... */
                               1451                 :                : /* ... */
                               1452                 :                : /* ... */
                               1453                 :                : /* ... */
                               1454                 :                : /* ... */
                               1455                 :                : /* ... */
                               1456                 :                : /* ... */
                               1457                 :                : /* ... */
                               1458                 :                : /* ... */
                               1459                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1460                 :                : /* (content generated from coverage data) */
                               1461                 :                : /* ... */
                               1462                 :                : /* ... */
                               1463                 :                : /* ... */
                               1464                 :                : /* ... */
                               1465                 :                : /* ... */
                               1466                 :                : /* ... */
                               1467                 :                : /* ... */
                               1468                 :                : /* ... */
                               1469                 :                : /* ... */
                               1470                 :                : /* ... */
                               1471                 :                : /* ... */
                               1472                 :                : /* ... */
                               1473                 :                : /* ... */
                               1474                 :                : /* ... */
                               1475                 :                : /* ... */
                               1476                 :                : /* ... */
                               1477                 :                : /* ... */
                               1478                 :                : /* ... */
                               1479                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1480                 :                : /* (content generated from coverage data) */
                               1481                 :                : /* ... */
                               1482                 :                : /* ... */
                               1483                 :                : /* ... */
                               1484                 :                : /* ... */
                               1485                 :                : /* ... */
                               1486                 :                : /* ... */
                               1487                 :                : /* ... */
                               1488                 :                : /* ... */
                               1489                 :                : /* ... */
                               1490                 :                : /* ... */
                               1491                 :                : /* ... */
                               1492                 :                : /* ... */
                               1493                 :                : /* ... */
                               1494                 :                : /* ... */
                               1495                 :                : /* ... */
                               1496                 :                : /* ... */
                               1497                 :                : /* ... */
                               1498                 :                : /* ... */
                               1499                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1500                 :                : /* (content generated from coverage data) */
                               1501                 :                : /* ... */
                               1502                 :                : /* ... */
                               1503                 :                : /* ... */
                               1504                 :                : /* ... */
                               1505                 :                : /* ... */
                               1506                 :                : /* ... */
                               1507                 :                : /* ... */
                               1508                 :                : /* ... */
                               1509                 :                : /* ... */
                               1510                 :                : /* ... */
                               1511                 :                : /* ... */
                               1512                 :                : /* ... */
                               1513                 :                : /* ... */
                               1514                 :                : /* ... */
                               1515                 :                : /* ... */
                               1516                 :                : /* ... */
                               1517                 :                : /* ... */
                               1518                 :                : /* ... */
                               1519                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1520                 :                : /* (content generated from coverage data) */
                               1521                 :                : /* ... */
                               1522                 :                : /* ... */
                               1523                 :                : /* ... */
                               1524                 :                : /* ... */
                               1525                 :                : /* ... */
                               1526                 :                : /* ... */
                               1527                 :                : /* ... */
                               1528                 :                : /* ... */
                               1529                 :                : /* ... */
                               1530                 :                : /* ... */
                               1531                 :                : /* ... */
                               1532                 :                : /* ... */
                               1533                 :                : /* ... */
                               1534                 :                : /* ... */
                               1535                 :                : /* ... */
                               1536                 :                : /* ... */
                               1537                 :                : /* ... */
                               1538                 :                : /* ... */
                               1539                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1540                 :                : /* (content generated from coverage data) */
                               1541                 :                : /* ... */
                               1542                 :                : /* ... */
                               1543                 :                : /* ... */
                               1544                 :                : /* ... */
                               1545                 :                : /* ... */
                               1546                 :                : /* ... */
                               1547                 :                : /* ... */
                               1548                 :                : /* ... */
                               1549                 :                : /* ... */
                               1550                 :                : /* ... */
                               1551                 :                : /* ... */
                               1552                 :                : /* ... */
                               1553                 :                : /* ... */
                               1554                 :                : /* ... */
                               1555                 :                : /* ... */
                               1556                 :                : /* ... */
                               1557                 :                : /* ... */
                               1558                 :                : /* ... */
                               1559                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1560                 :                : /* (content generated from coverage data) */
                               1561                 :                : /* ... */
                               1562                 :                : /* ... */
                               1563                 :                : /* ... */
                               1564                 :                : /* ... */
                               1565                 :                : /* ... */
                               1566                 :                : /* ... */
                               1567                 :                : /* ... */
                               1568                 :                : /* ... */
                               1569                 :                : /* ... */
                               1570                 :                : /* ... */
                               1571                 :                : /* ... */
                               1572                 :                : /* ... */
                               1573                 :                : /* ... */
                               1574                 :                : /* ... */
                               1575                 :                : /* ... */
                               1576                 :                : /* ... */
                               1577                 :                : /* ... */
                               1578                 :                : /* ... */
                               1579                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1580                 :                : /* (content generated from coverage data) */
                               1581                 :                : /* ... */
                               1582                 :                : /* ... */
                               1583                 :                : /* ... */
                               1584                 :                : /* ... */
                               1585                 :                : /* ... */
                               1586                 :                : /* ... */
                               1587                 :                : /* ... */
                               1588                 :                : /* ... */
                               1589                 :                : /* ... */
                               1590                 :                : /* ... */
                               1591                 :                : /* ... */
                               1592                 :                : /* ... */
                               1593                 :                : /* ... */
                               1594                 :                : /* ... */
                               1595                 :                : /* ... */
                               1596                 :                : /* ... */
                               1597                 :                : /* ... */
                               1598                 :                : /* ... */
                               1599                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1600                 :                : /* (content generated from coverage data) */
                               1601                 :                : /* ... */
                               1602                 :                : /* ... */
                               1603                 :                : /* ... */
                               1604                 :                : /* ... */
                               1605                 :                : /* ... */
                               1606                 :                : /* ... */
                               1607                 :                : /* ... */
                               1608                 :                : /* ... */
                               1609                 :                : /* ... */
                               1610                 :                : /* ... */
                               1611                 :                : /* ... */
                               1612                 :                : /* ... */
                               1613                 :                : /* ... */
                               1614                 :                : /* ... */
                               1615                 :                : /* ... */
                               1616                 :                : /* ... */
                               1617                 :                : /* ... */
                               1618                 :                : /* ... */
                               1619                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1620                 :                : /* (content generated from coverage data) */
                               1621                 :                : /* ... */
                               1622                 :                : /* ... */
                               1623                 :                : /* ... */
                               1624                 :                : /* ... */
                               1625                 :                : /* ... */
                               1626                 :                : /* ... */
                               1627                 :                : /* ... */
                               1628                 :                : /* ... */
                               1629                 :                : /* ... */
                               1630                 :                : /* ... */
                               1631                 :                : /* ... */
                               1632                 :                : /* ... */
                               1633                 :                : /* ... */
                               1634                 :                : /* ... */
                               1635                 :                : /* ... */
                               1636                 :                : /* ... */
                               1637                 :                : /* ... */
                               1638                 :                : /* ... */
                               1639                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1640                 :                : /* (content generated from coverage data) */
                               1641                 :                : /* ... */
                               1642                 :                : /* ... */
                               1643                 :                : /* ... */
                               1644                 :                : /* ... */
                               1645                 :                : /* ... */
                               1646                 :                : /* ... */
                               1647                 :                : /* ... */
                               1648                 :                : /* ... */
                               1649                 :                : /* ... */
                               1650                 :                : /* ... */
                               1651                 :                : /* ... */
                               1652                 :                : /* ... */
                               1653                 :                : /* ... */
                               1654                 :                : /* ... */
                               1655                 :                : /* ... */
                               1656                 :                : /* ... */
                               1657                 :                : /* ... */
                               1658                 :                : /* ... */
                               1659                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1660                 :                : /* (content generated from coverage data) */
                               1661                 :                : /* ... */
                               1662                 :                : /* ... */
                               1663                 :                : /* ... */
                               1664                 :                : /* ... */
                               1665                 :                : /* ... */
                               1666                 :                : /* ... */
                               1667                 :                : /* ... */
                               1668                 :                : /* ... */
                               1669                 :                : /* ... */
                               1670                 :                : /* ... */
                               1671                 :                : /* ... */
                               1672                 :                : /* ... */
                               1673                 :                : /* ... */
                               1674                 :                : /* ... */
                               1675                 :                : /* ... */
                               1676                 :                : /* ... */
                               1677                 :                : /* ... */
                               1678                 :                : /* ... */
                               1679                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1680                 :                : /* (content generated from coverage data) */
                               1681                 :                : /* ... */
                               1682                 :                : /* ... */
                               1683                 :                : /* ... */
                               1684                 :                : /* ... */
                               1685                 :                : /* ... */
                               1686                 :                : /* ... */
                               1687                 :                : /* ... */
                               1688                 :                : /* ... */
                               1689                 :                : /* ... */
                               1690                 :                : /* ... */
                               1691                 :                : /* ... */
                               1692                 :                : /* ... */
                               1693                 :                : /* ... */
                               1694                 :                : /* ... */
                               1695                 :                : /* ... */
                               1696                 :                : /* ... */
                               1697                 :                : /* ... */
                               1698                 :                : /* ... */
                               1699                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1700                 :                : /* (content generated from coverage data) */
                               1701                 :                : /* ... */
                               1702                 :                : /* ... */
                               1703                 :                : /* ... */
                               1704                 :                : /* ... */
                               1705                 :                : /* ... */
                               1706                 :                : /* ... */
                               1707                 :                : /* ... */
                               1708                 :                : /* ... */
                               1709                 :                : /* ... */
                               1710                 :                : /* ... */
                               1711                 :                : /* ... */
                               1712                 :                : /* ... */
                               1713                 :                : /* ... */
                               1714                 :                : /* ... */
                               1715                 :                : /* ... */
                               1716                 :                : /* ... */
                               1717                 :                : /* ... */
                               1718                 :                : /* ... */
                               1719                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1720                 :                : /* (content generated from coverage data) */
                               1721                 :                : /* ... */
                               1722                 :                : /* ... */
                               1723                 :                : /* ... */
                               1724                 :                : /* ... */
                               1725                 :                : /* ... */
                               1726                 :                : /* ... */
                               1727                 :                : /* ... */
                               1728                 :                : /* ... */
                               1729                 :                : /* ... */
                               1730                 :                : /* ... */
                               1731                 :                : /* ... */
                               1732                 :                : /* ... */
                               1733                 :                : /* ... */
                               1734                 :                : /* ... */
                               1735                 :                : /* ... */
                               1736                 :                : /* ... */
                               1737                 :                : /* ... */
                               1738                 :                : /* ... */
                               1739                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1740                 :                : /* (content generated from coverage data) */
                               1741                 :                : /* ... */
                               1742                 :                : /* ... */
                               1743                 :                : /* ... */
                               1744                 :                : /* ... */
                               1745                 :                : /* ... */
                               1746                 :                : /* ... */
                               1747                 :                : /* ... */
                               1748                 :                : /* ... */
                               1749                 :                : /* ... */
                               1750                 :                : /* ... */
                               1751                 :                : /* ... */
                               1752                 :                : /* ... */
                               1753                 :                : /* ... */
                               1754                 :                : /* ... */
                               1755                 :                : /* ... */
                               1756                 :                : /* ... */
                               1757                 :                : /* ... */
                               1758                 :                : /* ... */
                               1759                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1760                 :                : /* (content generated from coverage data) */
                               1761                 :                : /* ... */
                               1762                 :                : /* ... */
                               1763                 :                : /* ... */
                               1764                 :                : /* ... */
                               1765                 :                : /* ... */
                               1766                 :                : /* ... */
                               1767                 :                : /* ... */
                               1768                 :                : /* ... */
                               1769                 :                : /* ... */
                               1770                 :                : /* ... */
                               1771                 :                : /* ... */
                               1772                 :                : /* ... */
                               1773                 :                : /* ... */
                               1774                 :                : /* ... */
                               1775                 :                : /* ... */
                               1776                 :                : /* ... */
                               1777                 :                : /* ... */
                               1778                 :                : /* ... */
                               1779                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1780                 :                : /* (content generated from coverage data) */
                               1781                 :                : /* ... */
                               1782                 :                : /* ... */
                               1783                 :                : /* ... */
                               1784                 :                : /* ... */
                               1785                 :                : /* ... */
                               1786                 :                : /* ... */
                               1787                 :                : /* ... */
                               1788                 :                : /* ... */
                               1789                 :                : /* ... */
                               1790                 :                : /* ... */
                               1791                 :                : /* ... */
                               1792                 :                : /* ... */
                               1793                 :                : /* ... */
                               1794                 :                : /* ... */
                               1795                 :                : /* ... */
                               1796                 :                : /* ... */
                               1797                 :                : /* ... */
                               1798                 :                : /* ... */
                               1799                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1800                 :                : /* (content generated from coverage data) */
                               1801                 :                : /* ... */
                               1802                 :                : /* ... */
                               1803                 :                : /* ... */
                               1804                 :                : /* ... */
                               1805                 :                : /* ... */
                               1806                 :                : /* ... */
                               1807                 :                : /* ... */
                               1808                 :                : /* ... */
                               1809                 :                : /* ... */
                               1810                 :                : /* ... */
                               1811                 :                : /* ... */
                               1812                 :                : /* ... */
                               1813                 :                : /* ... */
                               1814                 :                : /* ... */
                               1815                 :                : /* ... */
                               1816                 :                : /* ... */
                               1817                 :                : /* ... */
                               1818                 :                : /* ... */
                               1819                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1820                 :                : /* (content generated from coverage data) */
                               1821                 :                : /* ... */
                               1822                 :                : /* ... */
                               1823                 :                : /* ... */
                               1824                 :                : /* ... */
                               1825                 :                : /* ... */
                               1826                 :                : /* ... */
                               1827                 :                : /* ... */
                               1828                 :                : /* ... */
                               1829                 :                : /* ... */
                               1830                 :                : /* ... */
                               1831                 :                : /* ... */
                               1832                 :                : /* ... */
                               1833                 :                : /* ... */
                               1834                 :                : /* ... */
                               1835                 :                : /* ... */
                               1836                 :                : /* ... */
                               1837                 :                : /* ... */
                               1838                 :                : /* ... */
                               1839                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1840                 :                : /* (content generated from coverage data) */
                               1841                 :                : /* ... */
                               1842                 :                : /* ... */
                               1843                 :                : /* ... */
                               1844                 :                : /* ... */
                               1845                 :                : /* ... */
                               1846                 :                : /* ... */
                               1847                 :                : /* ... */
                               1848                 :                : /* ... */
                               1849                 :                : /* ... */
                               1850                 :                : /* ... */
                               1851                 :                : /* ... */
                               1852                 :                : /* ... */
                               1853                 :                : /* ... */
                               1854                 :                : /* ... */
                               1855                 :                : /* ... */
                               1856                 :                : /* ... */
                               1857                 :                : /* ... */
                               1858                 :                : /* ... */
                               1859                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1860                 :                : /* (content generated from coverage data) */
                               1861                 :                : /* ... */
                               1862                 :                : /* ... */
                               1863                 :                : /* ... */
                               1864                 :                : /* ... */
                               1865                 :                : /* ... */
                               1866                 :                : /* ... */
                               1867                 :                : /* ... */
                               1868                 :                : /* ... */
                               1869                 :                : /* ... */
                               1870                 :                : /* ... */
                               1871                 :                : /* ... */
                               1872                 :                : /* ... */
                               1873                 :                : /* ... */
                               1874                 :                : /* ... */
                               1875                 :                : /* ... */
                               1876                 :                : /* ... */
                               1877                 :                : /* ... */
                               1878                 :                : /* ... */
                               1879                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1880                 :                : /* (content generated from coverage data) */
                               1881                 :                : /* ... */
                               1882                 :                : /* ... */
                               1883                 :                : /* ... */
                               1884                 :                : /* ... */
                               1885                 :                : /* ... */
                               1886                 :                : /* ... */
                               1887                 :                : /* ... */
                               1888                 :                : /* ... */
                               1889                 :                : /* ... */
                               1890                 :                : /* ... */
                               1891                 :                : /* ... */
                               1892                 :                : /* ... */
                               1893                 :                : /* ... */
                               1894                 :                : /* ... */
                               1895                 :                : /* ... */
                               1896                 :                : /* ... */
                               1897                 :                : /* ... */
                               1898                 :                : /* ... */
                               1899                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1900                 :                : /* (content generated from coverage data) */
                               1901                 :                : /* ... */
                               1902                 :                : /* ... */
                               1903                 :                : /* ... */
                               1904                 :                : /* ... */
                               1905                 :                : /* ... */
                               1906                 :                : /* ... */
                               1907                 :                : /* ... */
                               1908                 :                : /* ... */
                               1909                 :                : /* ... */
                               1910                 :                : /* ... */
                               1911                 :                : /* ... */
                               1912                 :                : /* ... */
                               1913                 :                : /* ... */
                               1914                 :                : /* ... */
                               1915                 :                : /* ... */
                               1916                 :                : /* ... */
                               1917                 :                : /* ... */
                               1918                 :                : /* ... */
                               1919                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1920                 :                : /* (content generated from coverage data) */
                               1921                 :                : /* ... */
                               1922                 :                : /* ... */
                               1923                 :                : /* ... */
                               1924                 :                : /* ... */
                               1925                 :                : /* ... */
                               1926                 :                : /* ... */
                               1927                 :                : /* ... */
                               1928                 :                : /* ... */
                               1929                 :                : /* ... */
                               1930                 :                : /* ... */
                               1931                 :                : /* ... */
                               1932                 :                : /* ... */
                               1933                 :                : /* ... */
                               1934                 :                : /* ... */
                               1935                 :                : /* ... */
                               1936                 :                : /* ... */
                               1937                 :                : /* ... */
                               1938                 :                : /* ... */
                               1939                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1940                 :                : /* (content generated from coverage data) */
                               1941                 :                : /* ... */
                               1942                 :                : /* ... */
                               1943                 :                : /* ... */
                               1944                 :                : /* ... */
                               1945                 :                : /* ... */
                               1946                 :                : /* ... */
                               1947                 :                : /* ... */
                               1948                 :                : /* ... */
                               1949                 :                : /* ... */
                               1950                 :                : /* ... */
                               1951                 :                : /* ... */
                               1952                 :                : /* ... */
                               1953                 :                : /* ... */
                               1954                 :                : /* ... */
                               1955                 :                : /* ... */
                               1956                 :                : /* ... */
                               1957                 :                : /* ... */
                               1958                 :                : /* ... */
                               1959                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1960                 :                : /* (content generated from coverage data) */
                               1961                 :                : /* ... */
                               1962                 :                : /* ... */
                               1963                 :                : /* ... */
                               1964                 :                : /* ... */
                               1965                 :                : /* ... */
                               1966                 :                : /* ... */
                               1967                 :                : /* ... */
                               1968                 :                : /* ... */
                               1969                 :                : /* ... */
                               1970                 :                : /* ... */
                               1971                 :                : /* ... */
                               1972                 :                : /* ... */
                               1973                 :                : /* ... */
                               1974                 :                : /* ... */
                               1975                 :                : /* ... */
                               1976                 :                : /* ... */
                               1977                 :                : /* ... */
                               1978                 :                : /* ... */
                               1979                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               1980                 :                : /* (content generated from coverage data) */
                               1981                 :                : /* ... */
                               1982                 :                : /* ... */
                               1983                 :                : /* ... */
                               1984                 :                : /* ... */
                               1985                 :                : /* ... */
                               1986                 :                : /* ... */
                               1987                 :                : /* ... */
                               1988                 :                : /* ... */
                               1989                 :                : /* ... */
                               1990                 :                : /* ... */
                               1991                 :                : /* ... */
                               1992                 :                : /* ... */
                               1993                 :                : /* ... */
                               1994                 :                : /* ... */
                               1995                 :                : /* ... */
                               1996                 :                : /* ... */
                               1997                 :                : /* ... */
                               1998                 :                : /* ... */
                               1999                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2000                 :                : /* (content generated from coverage data) */
                               2001                 :                : /* ... */
                               2002                 :                : /* ... */
                               2003                 :                : /* ... */
                               2004                 :                : /* ... */
                               2005                 :                : /* ... */
                               2006                 :                : /* ... */
                               2007                 :                : /* ... */
                               2008                 :                : /* ... */
                               2009                 :                : /* ... */
                               2010                 :                : /* ... */
                               2011                 :                : /* ... */
                               2012                 :                : /* ... */
                               2013                 :                : /* ... */
                               2014                 :                : /* ... */
                               2015                 :                : /* ... */
                               2016                 :                : /* ... */
                               2017                 :                : /* ... */
                               2018                 :                : /* ... */
                               2019                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2020                 :                : /* (content generated from coverage data) */
                               2021                 :                : /* ... */
                               2022                 :                : /* ... */
                               2023                 :                : /* ... */
                               2024                 :                : /* ... */
                               2025                 :                : /* ... */
                               2026                 :                : /* ... */
                               2027                 :                : /* ... */
                               2028                 :                : /* ... */
                               2029                 :                : /* ... */
                               2030                 :                : /* ... */
                               2031                 :                : /* ... */
                               2032                 :                : /* ... */
                               2033                 :                : /* ... */
                               2034                 :                : /* ... */
                               2035                 :                : /* ... */
                               2036                 :                : /* ... */
                               2037                 :                : /* ... */
                               2038                 :                : /* ... */
                               2039                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2040                 :                : /* (content generated from coverage data) */
                               2041                 :                : /* ... */
                               2042                 :                : /* ... */
                               2043                 :                : /* ... */
                               2044                 :                : /* ... */
                               2045                 :                : /* ... */
                               2046                 :                : /* ... */
                               2047                 :                : /* ... */
                               2048                 :                : /* ... */
                               2049                 :                : /* ... */
                               2050                 :                : /* ... */
                               2051                 :                : /* ... */
                               2052                 :                : /* ... */
                               2053                 :                : /* ... */
                               2054                 :                : /* ... */
                               2055                 :                : /* ... */
                               2056                 :                : /* ... */
                               2057                 :                : /* ... */
                               2058                 :                : /* ... */
                               2059                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2060                 :                : /* (content generated from coverage data) */
                               2061                 :                : /* ... */
                               2062                 :                : /* ... */
                               2063                 :                : /* ... */
                               2064                 :                : /* ... */
                               2065                 :                : /* ... */
                               2066                 :                : /* ... */
                               2067                 :                : /* ... */
                               2068                 :                : /* BEGIN: function "_bt_verify_keys_with_arraykeys" */
                               2069                 :                : /* ... */
                               2070                 :                : /* ... */
                               2071                 :                : /* ... */
                               2072                 :                : /* ... */
                               2073                 :                : /* ... */
                               2074                 :                : /* ... */
                               2075                 :                : /* ... */
                               2076                 :                : /* ... */
                               2077                 :                : /* ... */
                               2078                 :                : /* ... */
                               2079                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2080                 :                : /* (content generated from coverage data) */
                               2081                 :                : /* ... */
                               2082                 :                : /* ... */
                               2083                 :                : /* ... */
                               2084                 :                : /* ... */
                               2085                 :                : /* ... */
                               2086                 :                : /* ... */
                               2087                 :                : /* ... */
                               2088                 :                : /* ... */
                               2089                 :                : /* ... */
                               2090                 :                : /* ... */
                               2091                 :                : /* ... */
                               2092                 :                : /* ... */
                               2093                 :                : /* ... */
                               2094                 :                : /* ... */
                               2095                 :                : /* ... */
                               2096                 :                : /* ... */
                               2097                 :                : /* ... */
                               2098                 :                : /* ... */
                               2099                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2100                 :                : /* (content generated from coverage data) */
                               2101                 :                : /* ... */
                               2102                 :                : /* ... */
                               2103                 :                : /* ... */
                               2104                 :                : /* ... */
                               2105                 :                : /* ... */
                               2106                 :                : /* ... */
                               2107                 :                : /* ... */
                               2108                 :                : /* ... */
                               2109                 :                : /* ... */
                               2110                 :                : /* ... */
                               2111                 :                : /* ... */
                               2112                 :                : /* ... */
                               2113                 :                : /* ... */
                               2114                 :                : /* ... */
                               2115                 :                : /* ... */
                               2116                 :                : /* ... */
                               2117                 :                : /* ... */
                               2118                 :                : /* ... */
                               2119                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2120                 :                : /* (content generated from coverage data) */
                               2121                 :                : /* ... */
                               2122                 :                : /* ... */
                               2123                 :                : /* ... */
                               2124                 :                : /* ... */
                               2125                 :                : /* ... */
                               2126                 :                : /* ... */
                               2127                 :                : /* ... */
                               2128                 :                : /* ... */
                               2129                 :                : /* ... */
                               2130                 :                : /* ... */
                               2131                 :                : /* ... */
                               2132                 :                : /* ... */
                               2133                 :                : /* ... */
                               2134                 :                : /* ... */
                               2135                 :                : /* ... */
                               2136                 :                : /* ... */
                               2137                 :                : /* ... */
                               2138                 :                : /* ... */
                               2139                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2140                 :                : /* (content generated from coverage data) */
                               2141                 :                : /* ... */
                               2142                 :                : /* ... */
                               2143                 :                : /* ... */
                               2144                 :                : /* ... */
                               2145                 :                : /* ... */
                               2146                 :                : /* BEGIN: function "_bt_checkkeys" */
                               2147                 :                : /* ... */
                               2148                 :                : /* ... */
                               2149                 :                : /* ... */
                               2150                 :                : /* ... */
                               2151                 :                : /* ... */
                               2152                 :                : /* ... */
                               2153                 :                : /* ... */
                               2154                 :                : /* ... */
                               2155                 :                : /* ... */
                               2156                 :                : /* ... */
                               2157                 :                : /* ... */
                               2158                 :                : /* ... */
                               2159                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2160                 :                : /* (content generated from coverage data) */
                               2161                 :                : /* ... */
                               2162                 :                : /* ... */
                               2163                 :                : /* ... */
                               2164                 :                : /* ... */
                               2165                 :                : /* ... */
                               2166                 :                : /* ... */
                               2167                 :                : /* ... */
                               2168                 :                : /* ... */
                               2169                 :                : /* ... */
                               2170                 :                : /* ... */
                               2171                 :                : /* ... */
                               2172                 :                : /* ... */
                               2173                 :                : /* ... */
                               2174                 :                : /* ... */
                               2175                 :                : /* ... */
                               2176                 :                : /* ... */
                               2177                 :                : /* ... */
                               2178                 :                : /* ... */
                               2179                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2180                 :                : /* (content generated from coverage data) */
                               2181                 :                : /* ... */
                               2182                 :                : /* ... */
                               2183                 :                : /* ... */
                               2184                 :                : /* ... */
                               2185                 :                : /* ... */
                               2186                 :                : /* ... */
                               2187                 :                : /* ... */
                               2188                 :                : /* ... */
                               2189                 :                : /* ... */
                               2190                 :                : /* ... */
                               2191                 :                : /* ... */
                               2192                 :                : /* ... */
                               2193                 :                : /* ... */
                               2194                 :                : /* ... */
                               2195                 :                : /* ... */
                               2196                 :                : /* ... */
                               2197                 :                : /* ... */
                               2198                 :                : /* ... */
                               2199                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2200                 :                : /* (content generated from coverage data) */
                               2201                 :                : /* ... */
                               2202                 :                : /* ... */
                               2203                 :                : /* ... */
                               2204                 :                : /* ... */
                               2205                 :                : /* ... */
                               2206                 :                : /* ... */
                               2207                 :                : /* ... */
                               2208                 :                : /* ... */
                               2209                 :                : /* ... */
                               2210                 :                : /* ... */
                               2211                 :                : /* ... */
                               2212                 :                : /* ... */
                               2213                 :                : /* ... */
                               2214                 :                : /* ... */
                               2215                 :                : /* ... */
                               2216                 :                : /* ... */
                               2217                 :                : /* ... */
                               2218                 :                : /* ... */
                               2219                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2220                 :                : /* (content generated from coverage data) */
                               2221                 :                : /* ... */
                               2222                 :                : /* ... */
                               2223                 :                : /* ... */
                               2224                 :                : /* ... */
                               2225                 :                : /* ... */
                               2226                 :                : /* ... */
                               2227                 :                : /* ... */
                               2228                 :                : /* ... */
                               2229                 :                : /* ... */
                               2230                 :                : /* ... */
                               2231                 :                : /* ... */
                               2232                 :                : /* ... */
                               2233                 :                : /* ... */
                               2234                 :                : /* ... */
                               2235                 :                : /* ... */
                               2236                 :                : /* ... */
                               2237                 :                : /* ... */
                               2238                 :                : /* ... */
                               2239                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2240                 :                : /* (content generated from coverage data) */
                               2241                 :                : /* ... */
                               2242                 :                : /* ... */
                               2243                 :                : /* ... */
                               2244                 :                : /* ... */
                               2245                 :                : /* ... */
                               2246                 :                : /* ... */
                               2247                 :                : /* ... */
                               2248                 :                : /* ... */
                               2249                 :                : /* ... */
                               2250                 :                : /* ... */
                               2251                 :                : /* ... */
                               2252                 :                : /* ... */
                               2253                 :                : /* ... */
                               2254                 :                : /* ... */
                               2255                 :                : /* ... */
                               2256                 :                : /* ... */
                               2257                 :                : /* ... */
                               2258                 :                : /* ... */
                               2259                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2260                 :                : /* (content generated from coverage data) */
                               2261                 :                : /* ... */
                               2262                 :                : /* ... */
                               2263                 :                : /* ... */
                               2264                 :                : /* ... */
                               2265                 :                : /* ... */
                               2266                 :                : /* ... */
                               2267                 :                : /* ... */
                               2268                 :                : /* ... */
                               2269                 :                : /* ... */
                               2270                 :                : /* ... */
                               2271                 :                : /* ... */
                               2272                 :                : /* ... */
                               2273                 :                : /* ... */
                               2274                 :                : /* BEGIN: function "_bt_scanbehind_checkkeys" */
                               2275                 :                : /* ... */
                               2276                 :                : /* ... */
                               2277                 :                : /* ... */
                               2278                 :                : /* ... */
                               2279                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2280                 :                : /* (content generated from coverage data) */
                               2281                 :                : /* ... */
                               2282                 :                : /* ... */
                               2283                 :                : /* ... */
                               2284                 :                : /* ... */
                               2285                 :                : /* ... */
                               2286                 :                : /* ... */
                               2287                 :                : /* ... */
                               2288                 :                : /* ... */
                               2289                 :                : /* ... */
                               2290                 :                : /* ... */
                               2291                 :                : /* ... */
                               2292                 :                : /* ... */
                               2293                 :                : /* ... */
                               2294                 :                : /* ... */
                               2295                 :                : /* ... */
                               2296                 :                : /* ... */
                               2297                 :                : /* ... */
                               2298                 :                : /* ... */
                               2299                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2300                 :                : /* (content generated from coverage data) */
                               2301                 :                : /* ... */
                               2302                 :                : /* ... */
                               2303                 :                : /* ... */
                               2304                 :                : /* ... */
                               2305                 :                : /* ... */
                               2306                 :                : /* ... */
                               2307                 :                : /* ... */
                               2308                 :                : /* ... */
                               2309                 :                : /* ... */
                               2310                 :                : /* ... */
                               2311                 :                : /* ... */
                               2312                 :                : /* ... */
                               2313                 :                : /* ... */
                               2314                 :                : /* ... */
                               2315                 :                : /* ... */
                               2316                 :                : /* ... */
                               2317                 :                : /* ... */
                               2318                 :                : /* ... */
                               2319                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2320                 :                : /* (content generated from coverage data) */
                               2321                 :                : /* ... */
                               2322                 :                : /* ... */
                               2323                 :                : /* ... */
                               2324                 :                : /* ... */
                               2325                 :                : /* ... */
                               2326                 :                : /* ... */
                               2327                 :                : /* ... */
                               2328                 :                : /* ... */
                               2329                 :                : /* BEGIN: function "_bt_oppodir_checkkeys" */
                               2330                 :                : /* ... */
                               2331                 :                : /* ... */
                               2332                 :                : /* ... */
                               2333                 :                : /* ... */
                               2334                 :                : /* ... */
                               2335                 :                : /* ... */
                               2336                 :                : /* ... */
                               2337                 :                : /* ... */
                               2338                 :                : /* ... */
                               2339                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2340                 :                : /* (content generated from coverage data) */
                               2341                 :                : /* ... */
                               2342                 :                : /* ... */
                               2343                 :                : /* ... */
                               2344                 :                : /* ... */
                               2345                 :                : /* ... */
                               2346                 :                : /* ... */
                               2347                 :                : /* ... */
                               2348                 :                : /* ... */
                               2349                 :                : /* ... */
                               2350                 :                : /* ... */
                               2351                 :                : /* ... */
                               2352                 :                : /* ... */
                               2353                 :                : /* ... */
                               2354                 :                : /* ... */
                               2355                 :                : /* ... */
                               2356                 :                : /* ... */
                               2357                 :                : /* ... */
                               2358                 :                : /* ... */
                               2359                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2360                 :                : /* (content generated from coverage data) */
                               2361                 :                : /* ... */
                               2362                 :                : /* ... */
                               2363                 :                : /* ... */
                               2364                 :                : /* ... */
                               2365                 :                : /* ... */
                               2366                 :                : /* ... */
                               2367                 :                : /* ... */
                               2368                 :                : /* ... */
                               2369                 :                : /* ... */
                               2370                 :                : /* ... */
                               2371                 :                : /* ... */
                               2372                 :                : /* ... */
                               2373                 :                : /* ... */
                               2374                 :                : /* ... */
                               2375                 :                : /* ... */
                               2376                 :                : /* ... */
                               2377                 :                : /* ... */
                               2378                 :                : /* ... */
                               2379                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2380                 :                : /* (content generated from coverage data) */
                               2381                 :                : /* ... */
                               2382                 :                : /* ... */
                               2383                 :                : /* ... */
                               2384                 :                : /* ... */
                               2385                 :                : /* ... */
                               2386                 :                : /* ... */
                               2387                 :                : /* BEGIN: function "_bt_set_startikey" */
                               2388                 :                : /* ... */
                               2389                 :                : /* ... */
                               2390                 :                : /* ... */
                               2391                 :                : /* ... */
                               2392                 :                : /* ... */
                               2393                 :                : /* ... */
                               2394                 :                : /* ... */
                               2395                 :                : /* ... */
                               2396                 :                : /* ... */
                               2397                 :                : /* ... */
                               2398                 :                : /* ... */
                               2399                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2400                 :                : /* (content generated from coverage data) */
                               2401                 :                : /* ... */
                               2402                 :                : /* ... */
                               2403                 :                : /* ... */
                               2404                 :                : /* ... */
                               2405                 :                : /* ... */
                               2406                 :                : /* ... */
                               2407                 :                : /* ... */
                               2408                 :                : /* ... */
                               2409                 :                : /* ... */
                               2410                 :                : /* ... */
                               2411                 :                : /* ... */
                               2412                 :                : /* ... */
                               2413                 :                : /* ... */
                               2414                 :                : /* ... */
                               2415                 :                : /* ... */
                               2416                 :                : /* ... */
                               2417                 :                : /* ... */
                               2418                 :                : /* ... */
                               2419                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2420                 :                : /* (content generated from coverage data) */
                               2421                 :                : /* ... */
                               2422                 :                : /* ... */
                               2423                 :                : /* ... */
                               2424                 :                : /* ... */
                               2425                 :                : /* ... */
                               2426                 :                : /* ... */
                               2427                 :                : /* ... */
                               2428                 :                : /* ... */
                               2429                 :                : /* ... */
                               2430                 :                : /* ... */
                               2431                 :                : /* ... */
                               2432                 :                : /* ... */
                               2433                 :                : /* ... */
                               2434                 :                : /* ... */
                               2435                 :                : /* ... */
                               2436                 :                : /* ... */
                               2437                 :                : /* ... */
                               2438                 :                : /* ... */
                               2439                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2440                 :                : /* (content generated from coverage data) */
                               2441                 :                : /* ... */
                               2442                 :                : /* ... */
                               2443                 :                : /* ... */
                               2444                 :                : /* ... */
                               2445                 :                : /* ... */
                               2446                 :                : /* ... */
                               2447                 :                : /* ... */
                               2448                 :                : /* ... */
                               2449                 :                : /* ... */
                               2450                 :                : /* ... */
                               2451                 :                : /* ... */
                               2452                 :                : /* ... */
                               2453                 :                : /* ... */
                               2454                 :                : /* ... */
                               2455                 :                : /* ... */
                               2456                 :                : /* ... */
                               2457                 :                : /* ... */
                               2458                 :                : /* ... */
                               2459                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2460                 :                : /* (content generated from coverage data) */
                               2461                 :                : /* ... */
                               2462                 :                : /* ... */
                               2463                 :                : /* ... */
                               2464                 :                : /* ... */
                               2465                 :                : /* ... */
                               2466                 :                : /* ... */
                               2467                 :                : /* ... */
                               2468                 :                : /* ... */
                               2469                 :                : /* ... */
                               2470                 :                : /* ... */
                               2471                 :                : /* ... */
                               2472                 :                : /* ... */
                               2473                 :                : /* ... */
                               2474                 :                : /* ... */
                               2475                 :                : /* ... */
                               2476                 :                : /* ... */
                               2477                 :                : /* ... */
                               2478                 :                : /* ... */
                               2479                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2480                 :                : /* (content generated from coverage data) */
                               2481                 :                : /* ... */
                               2482                 :                : /* ... */
                               2483                 :                : /* ... */
                               2484                 :                : /* ... */
                               2485                 :                : /* ... */
                               2486                 :                : /* ... */
                               2487                 :                : /* ... */
                               2488                 :                : /* ... */
                               2489                 :                : /* ... */
                               2490                 :                : /* ... */
                               2491                 :                : /* ... */
                               2492                 :                : /* ... */
                               2493                 :                : /* ... */
                               2494                 :                : /* ... */
                               2495                 :                : /* ... */
                               2496                 :                : /* ... */
                               2497                 :                : /* ... */
                               2498                 :                : /* ... */
                               2499                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2500                 :                : /* (content generated from coverage data) */
                               2501                 :                : /* ... */
                               2502                 :                : /* ... */
                               2503                 :                : /* ... */
                               2504                 :                : /* ... */
                               2505                 :                : /* ... */
                               2506                 :                : /* ... */
                               2507                 :                : /* ... */
                               2508                 :                : /* ... */
                               2509                 :                : /* ... */
                               2510                 :                : /* ... */
                               2511                 :                : /* ... */
                               2512                 :                : /* ... */
                               2513                 :                : /* ... */
                               2514                 :                : /* ... */
                               2515                 :                : /* ... */
                               2516                 :                : /* ... */
                               2517                 :                : /* ... */
                               2518                 :                : /* ... */
                               2519                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2520                 :                : /* (content generated from coverage data) */
                               2521                 :                : /* ... */
                               2522                 :                : /* ... */
                               2523                 :                : /* ... */
                               2524                 :                : /* ... */
                               2525                 :                : /* ... */
                               2526                 :                : /* ... */
                               2527                 :                : /* ... */
                               2528                 :                : /* ... */
                               2529                 :                : /* ... */
                               2530                 :                : /* ... */
                               2531                 :                : /* ... */
                               2532                 :                : /* ... */
                               2533                 :                : /* ... */
                               2534                 :                : /* ... */
                               2535                 :                : /* ... */
                               2536                 :                : /* ... */
                               2537                 :                : /* ... */
                               2538                 :                : /* ... */
                               2539                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2540                 :                : /* (content generated from coverage data) */
                               2541                 :                : /* ... */
                               2542                 :                : /* ... */
                               2543                 :                : /* ... */
                               2544                 :                : /* ... */
                               2545                 :                : /* ... */
                               2546                 :                : /* ... */
                               2547                 :                : /* ... */
                               2548                 :                : /* ... */
                               2549                 :                : /* ... */
                               2550                 :                : /* ... */
                               2551                 :                : /* ... */
                               2552                 :                : /* ... */
                               2553                 :                : /* ... */
                               2554                 :                : /* ... */
                               2555                 :                : /* ... */
                               2556                 :                : /* ... */
                               2557                 :                : /* ... */
                               2558                 :                : /* ... */
                               2559                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2560                 :                : /* (content generated from coverage data) */
                               2561                 :                : /* ... */
                               2562                 :                : /* ... */
                               2563                 :                : /* ... */
                               2564                 :                : /* ... */
                               2565                 :                : /* ... */
                               2566                 :                : /* ... */
                               2567                 :                : /* ... */
                               2568                 :                : /* ... */
                               2569                 :                : /* ... */
                               2570                 :                : /* ... */
                               2571                 :                : /* ... */
                               2572                 :                : /* ... */
                               2573                 :                : /* ... */
                               2574                 :                : /* ... */
                               2575                 :                : /* ... */
                               2576                 :                : /* ... */
                               2577                 :                : /* ... */
                               2578                 :                : /* ... */
                               2579                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2580                 :                : /* (content generated from coverage data) */
                               2581                 :                : /* ... */
                               2582                 :                : /* ... */
                               2583                 :                : /* ... */
                               2584                 :                : /* ... */
                               2585                 :                : /* ... */
                               2586                 :                : /* ... */
                               2587                 :                : /* ... */
                               2588                 :                : /* ... */
                               2589                 :                : /* ... */
                               2590                 :                : /* ... */
                               2591                 :                : /* ... */
                               2592                 :                : /* ... */
                               2593                 :                : /* ... */
                               2594                 :                : /* ... */
                               2595                 :                : /* ... */
                               2596                 :                : /* ... */
                               2597                 :                : /* ... */
                               2598                 :                : /* ... */
                               2599                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2600                 :                : /* (content generated from coverage data) */
                               2601                 :                : /* ... */
                               2602                 :                : /* ... */
                               2603                 :                : /* ... */
                               2604                 :                : /* ... */
                               2605                 :                : /* ... */
                               2606                 :                : /* ... */
                               2607                 :                : /* ... */
                               2608                 :                : /* ... */
                               2609                 :                : /* ... */
                               2610                 :                : /* ... */
                               2611                 :                : /* ... */
                               2612                 :                : /* ... */
                               2613                 :                : /* ... */
                               2614                 :                : /* ... */
                               2615                 :                : /* ... */
                               2616                 :                : /* ... */
                               2617                 :                : /* ... */
                               2618                 :                : /* ... */
                               2619                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2620                 :                : /* (content generated from coverage data) */
                               2621                 :                : /* ... */
                               2622                 :                : /* ... */
                               2623                 :                : /* ... */
                               2624                 :                : /* ... */
                               2625                 :                : /* ... */
                               2626                 :                : /* ... */
                               2627                 :                : /* ... */
                               2628                 :                : /* ... */
                               2629                 :                : /* ... */
                               2630                 :                : /* ... */
                               2631                 :                : /* ... */
                               2632                 :                : /* ... */
                               2633                 :                : /* ... */
                               2634                 :                : /* ... */
                               2635                 :                : /* ... */
                               2636                 :                : /* ... */
                               2637                 :                : /* ... */
                               2638                 :                : /* ... */
                               2639                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2640                 :                : /* (content generated from coverage data) */
                               2641                 :                : /* ... */
                               2642                 :                : /* ... */
                               2643                 :                : /* ... */
                               2644                 :                : /* ... */
                               2645                 :                : /* ... */
                               2646                 :                : /* ... */
                               2647                 :                : /* ... */
                               2648                 :                : /* ... */
                               2649                 :                : /* ... */
                               2650                 :                : /* ... */
                               2651                 :                : /* ... */
                               2652                 :                : /* ... */
                               2653                 :                : /* ... */
                               2654                 :                : /* ... */
                               2655                 :                : /* ... */
                               2656                 :                : /* ... */
                               2657                 :                : /* ... */
                               2658                 :                : /* ... */
                               2659                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2660                 :                : /* (content generated from coverage data) */
                               2661                 :                : /* ... */
                               2662                 :                : /* ... */
                               2663                 :                : /* ... */
                               2664                 :                : /* ... */
                               2665                 :                : /* ... */
                               2666                 :                : /* ... */
                               2667                 :                : /* ... */
                               2668                 :                : /* ... */
                               2669                 :                : /* ... */
                               2670                 :                : /* ... */
                               2671                 :                : /* ... */
                               2672                 :                : /* ... */
                               2673                 :                : /* ... */
                               2674                 :                : /* ... */
                               2675                 :                : /* ... */
                               2676                 :                : /* ... */
                               2677                 :                : /* ... */
                               2678                 :                : /* ... */
                               2679                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2680                 :                : /* (content generated from coverage data) */
                               2681                 :                : /* ... */
                               2682                 :                : /* ... */
                               2683                 :                : /* ... */
                               2684                 :                : /* ... */
                               2685                 :                : /* ... */
                               2686                 :                : /* ... */
                               2687                 :                : /* ... */
                               2688                 :                : /* ... */
                               2689                 :                : /* ... */
                               2690                 :                : /* ... */
                               2691                 :                : /* ... */
                               2692                 :                : /* ... */
                               2693                 :                : /* BEGIN: function "_bt_check_compare" */
                               2694                 :                : /* ... */
                               2695                 :                : /* ... */
                               2696                 :                : /* ... */
                               2697                 :                : /* ... */
                               2698                 :                : /* ... */
                               2699                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2700                 :                : /* (content generated from coverage data) */
                               2701                 :                : /* ... */
                               2702                 :                : /* ... */
                               2703                 :                : /* ... */
                               2704                 :                : /* ... */
                               2705                 :                : /* ... */
                               2706                 :                : /* ... */
                               2707                 :                : /* ... */
                               2708                 :                : /* ... */
                               2709                 :                : /* ... */
                               2710                 :                : /* ... */
                               2711                 :                : /* ... */
                               2712                 :                : /* ... */
                               2713                 :                : /* ... */
                               2714                 :                : /* ... */
                               2715                 :                : /* ... */
                               2716                 :                : /* ... */
                               2717                 :                : /* ... */
                               2718                 :                : /* ... */
                               2719                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2720                 :                : /* (content generated from coverage data) */
                               2721                 :                : /* ... */
                               2722                 :                : /* ... */
                               2723                 :                : /* ... */
                               2724                 :                : /* ... */
                               2725                 :                : /* ... */
                               2726                 :                : /* ... */
                               2727                 :                : /* ... */
                               2728                 :                : /* ... */
                               2729                 :                : /* ... */
                               2730                 :                : /* ... */
                               2731                 :                : /* ... */
                               2732                 :                : /* ... */
                               2733                 :                : /* ... */
                               2734                 :                : /* ... */
                               2735                 :                : /* ... */
                               2736                 :                : /* ... */
                               2737                 :                : /* ... */
                               2738                 :                : /* ... */
                               2739                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2740                 :                : /* (content generated from coverage data) */
                               2741                 :                : /* ... */
                               2742                 :                : /* ... */
                               2743                 :                : /* ... */
                               2744                 :                : /* ... */
                               2745                 :                : /* ... */
                               2746                 :                : /* ... */
                               2747                 :                : /* ... */
                               2748                 :                : /* ... */
                               2749                 :                : /* ... */
                               2750                 :                : /* ... */
                               2751                 :                : /* ... */
                               2752                 :                : /* ... */
                               2753                 :                : /* ... */
                               2754                 :                : /* ... */
                               2755                 :                : /* ... */
                               2756                 :                : /* ... */
                               2757                 :                : /* ... */
                               2758                 :                : /* ... */
                               2759                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2760                 :                : /* (content generated from coverage data) */
                               2761                 :                : /* ... */
                               2762                 :                : /* ... */
                               2763                 :                : /* ... */
                               2764                 :                : /* ... */
                               2765                 :                : /* ... */
                               2766                 :                : /* ... */
                               2767                 :                : /* ... */
                               2768                 :                : /* ... */
                               2769                 :                : /* ... */
                               2770                 :                : /* ... */
                               2771                 :                : /* ... */
                               2772                 :                : /* ... */
                               2773                 :                : /* ... */
                               2774                 :                : /* ... */
                               2775                 :                : /* ... */
                               2776                 :                : /* ... */
                               2777                 :                : /* ... */
                               2778                 :                : /* ... */
                               2779                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2780                 :                : /* (content generated from coverage data) */
                               2781                 :                : /* ... */
                               2782                 :                : /* ... */
                               2783                 :                : /* ... */
                               2784                 :                : /* ... */
                               2785                 :                : /* ... */
                               2786                 :                : /* ... */
                               2787                 :                : /* ... */
                               2788                 :                : /* ... */
                               2789                 :                : /* ... */
                               2790                 :                : /* ... */
                               2791                 :                : /* ... */
                               2792                 :                : /* ... */
                               2793                 :                : /* ... */
                               2794                 :                : /* ... */
                               2795                 :                : /* ... */
                               2796                 :                : /* ... */
                               2797                 :                : /* ... */
                               2798                 :                : /* ... */
                               2799                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2800                 :                : /* (content generated from coverage data) */
                               2801                 :                : /* ... */
                               2802                 :                : /* ... */
                               2803                 :                : /* ... */
                               2804                 :                : /* ... */
                               2805                 :                : /* ... */
                               2806                 :                : /* ... */
                               2807                 :                : /* ... */
                               2808                 :                : /* ... */
                               2809                 :                : /* ... */
                               2810                 :                : /* ... */
                               2811                 :                : /* ... */
                               2812                 :                : /* ... */
                               2813                 :                : /* ... */
                               2814                 :                : /* ... */
                               2815                 :                : /* ... */
                               2816                 :                : /* ... */
                               2817                 :                : /* ... */
                               2818                 :                : /* ... */
                               2819                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2820                 :                : /* (content generated from coverage data) */
                               2821                 :                : /* ... */
                               2822                 :                : /* ... */
                               2823                 :                : /* ... */
                               2824                 :                : /* ... */
                               2825                 :                : /* ... */
                               2826                 :                : /* ... */
                               2827                 :                : /* ... */
                               2828                 :                : /* ... */
                               2829                 :                : /* ... */
                               2830                 :                : /* ... */
                               2831                 :                : /* ... */
                               2832                 :                : /* ... */
                               2833                 :                : /* ... */
                               2834                 :                : /* ... */
                               2835                 :                : /* ... */
                               2836                 :                : /* ... */
                               2837                 :                : /* ... */
                               2838                 :                : /* ... */
                               2839                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2840                 :                : /* (content generated from coverage data) */
                               2841                 :                : /* ... */
                               2842                 :                : /* ... */
                               2843                 :                : /* ... */
                               2844                 :                : /* ... */
                               2845                 :                : /* ... */
                               2846                 :                : /* ... */
                               2847                 :                : /* ... */
                               2848                 :                : /* ... */
                               2849                 :                : /* ... */
                               2850                 :                : /* ... */
                               2851                 :                : /* ... */
                               2852                 :                : /* ... */
                               2853                 :                : /* ... */
                               2854                 :                : /* ... */
                               2855                 :                : /* ... */
                               2856                 :                : /* ... */
                               2857                 :                : /* ... */
                               2858                 :                : /* ... */
                               2859                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2860                 :                : /* (content generated from coverage data) */
                               2861                 :                : /* ... */
                               2862                 :                : /* ... */
                               2863                 :                : /* ... */
                               2864                 :                : /* ... */
                               2865                 :                : /* ... */
                               2866                 :                : /* ... */
                               2867                 :                : /* ... */
                               2868                 :                : /* ... */
                               2869                 :                : /* ... */
                               2870                 :                : /* ... */
                               2871                 :                : /* ... */
                               2872                 :                : /* ... */
                               2873                 :                : /* ... */
                               2874                 :                : /* ... */
                               2875                 :                : /* ... */
                               2876                 :                : /* ... */
                               2877                 :                : /* ... */
                               2878                 :                : /* ... */
                               2879                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2880                 :                : /* (content generated from coverage data) */
                               2881                 :                : /* ... */
                               2882                 :                : /* ... */
                               2883                 :                : /* ... */
                               2884                 :                : /* ... */
                               2885                 :                : /* ... */
                               2886                 :                : /* ... */
                               2887                 :                : /* ... */
                               2888                 :                : /* ... */
                               2889                 :                : /* ... */
                               2890                 :                : /* ... */
                               2891                 :                : /* ... */
                               2892                 :                : /* ... */
                               2893                 :                : /* ... */
                               2894                 :                : /* ... */
                               2895                 :                : /* ... */
                               2896                 :                : /* ... */
                               2897                 :                : /* ... */
                               2898                 :                : /* ... */
                               2899                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2900                 :                : /* (content generated from coverage data) */
                               2901                 :                : /* ... */
                               2902                 :                : /* ... */
                               2903                 :                : /* ... */
                               2904                 :                : /* ... */
                               2905                 :                : /* ... */
                               2906                 :                : /* ... */
                               2907                 :                : /* ... */
                               2908                 :                : /* ... */
                               2909                 :                : /* ... */
                               2910                 :                : /* ... */
                               2911                 :                : /* ... */
                               2912                 :                : /* ... */
                               2913                 :                : /* ... */
                               2914                 :                : /* ... */
                               2915                 :                : /* ... */
                               2916                 :                : /* ... */
                               2917                 :                : /* ... */
                               2918                 :                : /* ... */
                               2919                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2920                 :                : /* (content generated from coverage data) */
                               2921                 :                : /* ... */
                               2922                 :                : /* ... */
                               2923                 :                : /* ... */
                               2924                 :                : /* ... */
                               2925                 :                : /* ... */
                               2926                 :                : /* ... */
                               2927                 :                : /* ... */
                               2928                 :                : /* ... */
                               2929                 :                : /* ... */
                               2930                 :                : /* ... */
                               2931                 :                : /* ... */
                               2932                 :                : /* ... */
                               2933                 :                : /* ... */
                               2934                 :                : /* ... */
                               2935                 :                : /* ... */
                               2936                 :                : /* ... */
                               2937                 :                : /* ... */
                               2938                 :                : /* ... */
                               2939                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2940                 :                : /* (content generated from coverage data) */
                               2941                 :                : /* ... */
                               2942                 :                : /* ... */
                               2943                 :                : /* ... */
                               2944                 :                : /* ... */
                               2945                 :                : /* ... */
                               2946                 :                : /* ... */
                               2947                 :                : /* ... */
                               2948                 :                : /* ... */
                               2949                 :                : /* ... */
                               2950                 :                : /* ... */
                               2951                 :                : /* ... */
                               2952                 :                : /* ... */
                               2953                 :                : /* ... */
                               2954                 :                : /* ... */
                               2955                 :                : /* ... */
                               2956                 :                : /* ... */
                               2957                 :                : /* ... */
                               2958                 :                : /* ... */
                               2959                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2960                 :                : /* BEGIN: function "_bt_check_rowcompare" */
                               2961                 :                : /* ... */
                               2962                 :                : /* ... */
                               2963                 :                : /* ... */
                               2964                 :                : /* ... */
                               2965                 :                : /* ... */
                               2966                 :                : /* ... */
                               2967                 :                : /* ... */
                               2968                 :                : /* ... */
                               2969                 :                : /* ... */
                               2970                 :                : /* ... */
                               2971                 :                : /* ... */
                               2972                 :                : /* ... */
                               2973                 :                : /* ... */
                               2974                 :                : /* ... */
                               2975                 :                : /* ... */
                               2976                 :                : /* ... */
                               2977                 :                : /* ... */
                               2978                 :                : /* ... */
                               2979                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               2980                 :                : /* (content generated from coverage data) */
                               2981                 :                : /* ... */
                               2982                 :                : /* ... */
                               2983                 :                : /* ... */
                               2984                 :                : /* ... */
                               2985                 :                : /* ... */
                               2986                 :                : /* ... */
                               2987                 :                : /* ... */
                               2988                 :                : /* ... */
                               2989                 :                : /* ... */
                               2990                 :                : /* ... */
                               2991                 :                : /* ... */
                               2992                 :                : /* ... */
                               2993                 :                : /* ... */
                               2994                 :                : /* ... */
                               2995                 :                : /* ... */
                               2996                 :                : /* ... */
                               2997                 :                : /* ... */
                               2998                 :                : /* ... */
                               2999                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3000                 :                : /* (content generated from coverage data) */
                               3001                 :                : /* ... */
                               3002                 :                : /* ... */
                               3003                 :                : /* ... */
                               3004                 :                : /* ... */
                               3005                 :                : /* ... */
                               3006                 :                : /* ... */
                               3007                 :                : /* ... */
                               3008                 :                : /* ... */
                               3009                 :                : /* ... */
                               3010                 :                : /* ... */
                               3011                 :                : /* ... */
                               3012                 :                : /* ... */
                               3013                 :                : /* ... */
                               3014                 :                : /* ... */
                               3015                 :                : /* ... */
                               3016                 :                : /* ... */
                               3017                 :                : /* ... */
                               3018                 :                : /* ... */
                               3019                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3020                 :                : /* (content generated from coverage data) */
                               3021                 :                : /* ... */
                               3022                 :                : /* ... */
                               3023                 :                : /* ... */
                               3024                 :                : /* ... */
                               3025                 :                : /* ... */
                               3026                 :                : /* ... */
                               3027                 :                : /* ... */
                               3028                 :                : /* ... */
                               3029                 :                : /* ... */
                               3030                 :                : /* ... */
                               3031                 :                : /* ... */
                               3032                 :                : /* ... */
                               3033                 :                : /* ... */
                               3034                 :                : /* ... */
                               3035                 :                : /* ... */
                               3036                 :                : /* ... */
                               3037                 :                : /* ... */
                               3038                 :                : /* ... */
                               3039                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3040                 :                : /* (content generated from coverage data) */
                               3041                 :                : /* ... */
                               3042                 :                : /* ... */
                               3043                 :                : /* ... */
                               3044                 :                : /* ... */
                               3045                 :                : /* ... */
                               3046                 :                : /* ... */
                               3047                 :                : /* ... */
                               3048                 :                : /* ... */
                               3049                 :                : /* ... */
                               3050                 :                : /* ... */
                               3051                 :                : /* ... */
                               3052                 :                : /* ... */
                               3053                 :                : /* ... */
                               3054                 :                : /* ... */
                               3055                 :                : /* ... */
                               3056                 :                : /* ... */
                               3057                 :                : /* ... */
                               3058                 :                : /* ... */
                               3059                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3060                 :                : /* (content generated from coverage data) */
                               3061                 :                : /* ... */
                               3062                 :                : /* ... */
                               3063                 :                : /* ... */
                               3064                 :                : /* ... */
                               3065                 :                : /* ... */
                               3066                 :                : /* ... */
                               3067                 :                : /* ... */
                               3068                 :                : /* ... */
                               3069                 :                : /* ... */
                               3070                 :                : /* ... */
                               3071                 :                : /* ... */
                               3072                 :                : /* ... */
                               3073                 :                : /* ... */
                               3074                 :                : /* ... */
                               3075                 :                : /* ... */
                               3076                 :                : /* ... */
                               3077                 :                : /* ... */
                               3078                 :                : /* ... */
                               3079                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3080                 :                : /* (content generated from coverage data) */
                               3081                 :                : /* ... */
                               3082                 :                : /* ... */
                               3083                 :                : /* ... */
                               3084                 :                : /* ... */
                               3085                 :                : /* ... */
                               3086                 :                : /* ... */
                               3087                 :                : /* ... */
                               3088                 :                : /* ... */
                               3089                 :                : /* ... */
                               3090                 :                : /* ... */
                               3091                 :                : /* ... */
                               3092                 :                : /* ... */
                               3093                 :                : /* ... */
                               3094                 :                : /* ... */
                               3095                 :                : /* ... */
                               3096                 :                : /* ... */
                               3097                 :                : /* ... */
                               3098                 :                : /* ... */
                               3099                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3100                 :                : /* (content generated from coverage data) */
                               3101                 :                : /* ... */
                               3102                 :                : /* ... */
                               3103                 :                : /* ... */
                               3104                 :                : /* ... */
                               3105                 :                : /* ... */
                               3106                 :                : /* ... */
                               3107                 :                : /* ... */
                               3108                 :                : /* ... */
                               3109                 :                : /* ... */
                               3110                 :                : /* ... */
                               3111                 :                : /* ... */
                               3112                 :                : /* ... */
                               3113                 :                : /* ... */
                               3114                 :                : /* ... */
                               3115                 :                : /* ... */
                               3116                 :                : /* ... */
                               3117                 :                : /* ... */
                               3118                 :                : /* ... */
                               3119                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3120                 :                : /* (content generated from coverage data) */
                               3121                 :                : /* ... */
                               3122                 :                : /* ... */
                               3123                 :                : /* ... */
                               3124                 :                : /* ... */
                               3125                 :                : /* ... */
                               3126                 :                : /* ... */
                               3127                 :                : /* ... */
                               3128                 :                : /* ... */
                               3129                 :                : /* ... */
                               3130                 :                : /* ... */
                               3131                 :                : /* ... */
                               3132                 :                : /* ... */
                               3133                 :                : /* ... */
                               3134                 :                : /* ... */
                               3135                 :                : /* ... */
                               3136                 :                : /* ... */
                               3137                 :                : /* ... */
                               3138                 :                : /* ... */
                               3139                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3140                 :                : /* (content generated from coverage data) */
                               3141                 :                : /* ... */
                               3142                 :                : /* ... */
                               3143                 :                : /* ... */
                               3144                 :                : /* ... */
                               3145                 :                : /* ... */
                               3146                 :                : /* ... */
                               3147                 :                : /* ... */
                               3148                 :                : /* ... */
                               3149                 :                : /* ... */
                               3150                 :                : /* ... */
                               3151                 :                : /* ... */
                               3152                 :                : /* ... */
                               3153                 :                : /* ... */
                               3154                 :                : /* ... */
                               3155                 :                : /* ... */
                               3156                 :                : /* ... */
                               3157                 :                : /* ... */
                               3158                 :                : /* ... */
                               3159                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3160                 :                : /* (content generated from coverage data) */
                               3161                 :                : /* ... */
                               3162                 :                : /* ... */
                               3163                 :                : /* ... */
                               3164                 :                : /* ... */
                               3165                 :                : /* ... */
                               3166                 :                : /* ... */
                               3167                 :                : /* ... */
                               3168                 :                : /* ... */
                               3169                 :                : /* ... */
                               3170                 :                : /* ... */
                               3171                 :                : /* ... */
                               3172                 :                : /* ... */
                               3173                 :                : /* ... */
                               3174                 :                : /* ... */
                               3175                 :                : /* ... */
                               3176                 :                : /* ... */
                               3177                 :                : /* ... */
                               3178                 :                : /* ... */
                               3179                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3180                 :                : /* (content generated from coverage data) */
                               3181                 :                : /* ... */
                               3182                 :                : /* ... */
                               3183                 :                : /* ... */
                               3184                 :                : /* ... */
                               3185                 :                : /* ... */
                               3186                 :                : /* ... */
                               3187                 :                : /* ... */
                               3188                 :                : /* ... */
                               3189                 :                : /* ... */
                               3190                 :                : /* ... */
                               3191                 :                : /* ... */
                               3192                 :                : /* ... */
                               3193                 :                : /* ... */
                               3194                 :                : /* BEGIN: function "_bt_checkkeys_look_ahead" */
                               3195                 :                : /* ... */
                               3196                 :                : /* ... */
                               3197                 :                : /* ... */
                               3198                 :                : /* ... */
                               3199                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3200                 :                : /* (content generated from coverage data) */
                               3201                 :                : /* ... */
                               3202                 :                : /* ... */
                               3203                 :                : /* ... */
                               3204                 :                : /* ... */
                               3205                 :                : /* ... */
                               3206                 :                : /* ... */
                               3207                 :                : /* ... */
                               3208                 :                : /* ... */
                               3209                 :                : /* ... */
                               3210                 :                : /* ... */
                               3211                 :                : /* ... */
                               3212                 :                : /* ... */
                               3213                 :                : /* ... */
                               3214                 :                : /* ... */
                               3215                 :                : /* ... */
                               3216                 :                : /* ... */
                               3217                 :                : /* ... */
                               3218                 :                : /* ... */
                               3219                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3220                 :                : /* (content generated from coverage data) */
                               3221                 :                : /* ... */
                               3222                 :                : /* ... */
                               3223                 :                : /* ... */
                               3224                 :                : /* ... */
                               3225                 :                : /* ... */
                               3226                 :                : /* ... */
                               3227                 :                : /* ... */
                               3228                 :                : /* ... */
                               3229                 :                : /* ... */
                               3230                 :                : /* ... */
                               3231                 :                : /* ... */
                               3232                 :                : /* ... */
                               3233                 :                : /* ... */
                               3234                 :                : /* ... */
                               3235                 :                : /* ... */
                               3236                 :                : /* ... */
                               3237                 :                : /* ... */
                               3238                 :                : /* ... */
                               3239                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3240                 :                : /* (content generated from coverage data) */
                               3241                 :                : /* ... */
                               3242                 :                : /* ... */
                               3243                 :                : /* ... */
                               3244                 :                : /* ... */
                               3245                 :                : /* ... */
                               3246                 :                : /* ... */
                               3247                 :                : /* ... */
                               3248                 :                : /* ... */
                               3249                 :                : /* ... */
                               3250                 :                : /* ... */
                               3251                 :                : /* ... */
                               3252                 :                : /* ... */
                               3253                 :                : /* ... */
                               3254                 :                : /* ... */
                               3255                 :                : /* ... */
                               3256                 :                : /* ... */
                               3257                 :                : /* ... */
                               3258                 :                : /* ... */
                               3259                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3260                 :                : /* (content generated from coverage data) */
                               3261                 :                : /* ... */
                               3262                 :                : /* ... */
                               3263                 :                : /* ... */
                               3264                 :                : /* ... */
                               3265                 :                : /* ... */
                               3266                 :                : /* ... */
                               3267                 :                : /* ... */
                               3268                 :                : /* ... */
                               3269                 :                : /* ... */
                               3270                 :                : /* ... */
                               3271                 :                : /* ... */
                               3272                 :                : /* ... */
                               3273                 :                : /* ... */
                               3274                 :                : /* ... */
                               3275                 :                : /* ... */
                               3276                 :                : /* ... */
                               3277                 :                : /* ... */
                               3278                 :                : /* ... */
                               3279                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3280                 :                : /* (content generated from coverage data) */
                               3281                 :                : /* ... */
                               3282                 :                : /* ... */
                               3283                 :                : /* ... */
                               3284                 :                : /* ... */
                               3285                 :                : /* ... */
                               3286                 :                : /* ... */
                               3287                 :                : /* ... */
                               3288                 :                : /* ... */
                               3289                 :                : /* ... */
                               3290                 :                : /* ... */
                               3291                 :                : /* ... */
                               3292                 :                : /* ... */
                               3293                 :                : /* ... */
                               3294                 :                : /* ... */
                               3295                 :                : /* ... */
                               3296                 :                : /* ... */
                               3297                 :                : /* ... */
                               3298                 :                : /* ... */
                               3299                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3300                 :                : /* (content generated from coverage data) */
                               3301                 :                : /* ... */
                               3302                 :                : /* ... */
                               3303                 :                : /* ... */
                               3304                 :                : /* ... */
                               3305                 :                : /* ... */
                               3306                 :                : /* ... */
                               3307                 :                : /* ... */
                               3308                 :                : /* ... */
                               3309                 :                : /* ... */
                               3310                 :                : /* ... */
                               3311                 :                : /* ... */
                               3312                 :                : /* ... */
                               3313                 :                : /* ... */
                               3314                 :                : /* ... */
                               3315                 :                : /* ... */
                               3316                 :                : /* ... */
                               3317                 :                : /* ... */
                               3318                 :                : /* ... */
                               3319                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3320                 :                : /* (content generated from coverage data) */
                               3321                 :                : /* ... */
                               3322                 :                : /* ... */
                               3323                 :                : /* ... */
                               3324                 :                : /* ... */
                               3325                 :                : /* ... */
                               3326                 :                : /* ... */
                               3327                 :                : /* ... */
                               3328                 :                : /* ... */
                               3329                 :                : /* ... */
                               3330                 :                : /* ... */
                               3331                 :                : /* ... */
                               3332                 :                : /* ... */
                               3333                 :                : /* ... */
                               3334                 :                : /* ... */
                               3335                 :                : /* ... */
                               3336                 :                : /* ... */
                               3337                 :                : /* ... */
                               3338                 :                : /* ... */
                               3339                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3340                 :                : /* (content generated from coverage data) */
                               3341                 :                : /* ... */
                               3342                 :                : /* ... */
                               3343                 :                : /* ... */
                               3344                 :                : /* ... */
                               3345                 :                : /* ... */
                               3346                 :                : /* ... */
                               3347                 :                : /* ... */
                               3348                 :                : /* ... */
                               3349                 :                : /* ... */
                               3350                 :                : /* ... */
                               3351                 :                : /* ... */
                               3352                 :                : /* ... */
                               3353                 :                : /* ... */
                               3354                 :                : /* ... */
                               3355                 :                : /* ... */
                               3356                 :                : /* ... */
                               3357                 :                : /* ... */
                               3358                 :                : /* ... */
                               3359                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3360                 :                : /* (content generated from coverage data) */
                               3361                 :                : /* ... */
                               3362                 :                : /* ... */
                               3363                 :                : /* ... */
                               3364                 :                : /* ... */
                               3365                 :                : /* ... */
                               3366                 :                : /* ... */
                               3367                 :                : /* ... */
                               3368                 :                : /* ... */
                               3369                 :                : /* ... */
                               3370                 :                : /* ... */
                               3371                 :                : /* ... */
                               3372                 :                : /* ... */
                               3373                 :                : /* ... */
                               3374                 :                : /* ... */
                               3375                 :                : /* ... */
                               3376                 :                : /* ... */
                               3377                 :                : /* ... */
                               3378                 :                : /* ... */
                               3379                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3380                 :                : /* (content generated from coverage data) */
                               3381                 :                : /* ... */
                               3382                 :                : /* ... */
                               3383                 :                : /* ... */
                               3384                 :                : /* ... */
                               3385                 :                : /* ... */
                               3386                 :                : /* ... */
                               3387                 :                : /* ... */
                               3388                 :                : /* ... */
                               3389                 :                : /* ... */
                               3390                 :                : /* ... */
                               3391                 :                : /* ... */
                               3392                 :                : /* ... */
                               3393                 :                : /* ... */
                               3394                 :                : /* ... */
                               3395                 :                : /* ... */
                               3396                 :                : /* ... */
                               3397                 :                : /* ... */
                               3398                 :                : /* ... */
                               3399                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3400                 :                : /* (content generated from coverage data) */
                               3401                 :                : /* ... */
                               3402                 :                : /* ... */
                               3403                 :                : /* ... */
                               3404                 :                : /* ... */
                               3405                 :                : /* ... */
                               3406                 :                : /* ... */
                               3407                 :                : /* ... */
                               3408                 :                : /* ... */
                               3409                 :                : /* ... */
                               3410                 :                : /* ... */
                               3411                 :                : /* ... */
                               3412                 :                : /* ... */
                               3413                 :                : /* ... */
                               3414                 :                : /* ... */
                               3415                 :                : /* ... */
                               3416                 :                : /* ... */
                               3417                 :                : /* ... */
                               3418                 :                : /* ... */
                               3419                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3420                 :                : /* (content generated from coverage data) */
                               3421                 :                : /* ... */
                               3422                 :                : /* ... */
                               3423                 :                : /* ... */
                               3424                 :                : /* ... */
                               3425                 :                : /* ... */
                               3426                 :                : /* ... */
                               3427                 :                : /* ... */
                               3428                 :                : /* ... */
                               3429                 :                : /* ... */
                               3430                 :                : /* ... */
                               3431                 :                : /* ... */
                               3432                 :                : /* ... */
                               3433                 :                : /* ... */
                               3434                 :                : /* ... */
                               3435                 :                : /* ... */
                               3436                 :                : /* ... */
                               3437                 :                : /* ... */
                               3438                 :                : /* ... */
                               3439                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3440                 :                : /* (content generated from coverage data) */
                               3441                 :                : /* ... */
                               3442                 :                : /* ... */
                               3443                 :                : /* ... */
                               3444                 :                : /* ... */
                               3445                 :                : /* ... */
                               3446                 :                : /* ... */
                               3447                 :                : /* ... */
                               3448                 :                : /* ... */
                               3449                 :                : /* ... */
                               3450                 :                : /* ... */
                               3451                 :                : /* ... */
                               3452                 :                : /* ... */
                               3453                 :                : /* ... */
                               3454                 :                : /* ... */
                               3455                 :                : /* ... */
                               3456                 :                : /* ... */
                               3457                 :                : /* ... */
                               3458                 :                : /* ... */
                               3459                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3460                 :                : /* (content generated from coverage data) */
                               3461                 :                : /* ... */
                               3462                 :                : /* ... */
                               3463                 :                : /* ... */
                               3464                 :                : /* ... */
                               3465                 :                : /* ... */
                               3466                 :                : /* ... */
                               3467                 :                : /* ... */
                               3468                 :                : /* ... */
                               3469                 :                : /* ... */
                               3470                 :                : /* ... */
                               3471                 :                : /* ... */
                               3472                 :                : /* ... */
                               3473                 :                : /* ... */
                               3474                 :                : /* ... */
                               3475                 :                : /* ... */
                               3476                 :                : /* ... */
                               3477                 :                : /* ... */
                               3478                 :                : /* ... */
                               3479                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3480                 :                : /* (content generated from coverage data) */
                               3481                 :                : /* ... */
                               3482                 :                : /* ... */
                               3483                 :                : /* ... */
                               3484                 :                : /* ... */
                               3485                 :                : /* ... */
                               3486                 :                : /* ... */
                               3487                 :                : /* ... */
                               3488                 :                : /* ... */
                               3489                 :                : /* ... */
                               3490                 :                : /* ... */
                               3491                 :                : /* ... */
                               3492                 :                : /* ... */
                               3493                 :                : /* ... */
                               3494                 :                : /* ... */
                               3495                 :                : /* ... */
                               3496                 :                : /* ... */
                               3497                 :                : /* ... */
                               3498                 :                : /* ... */
                               3499                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3500                 :                : /* (content generated from coverage data) */
                               3501                 :                : /* ... */
                               3502                 :                : /* ... */
                               3503                 :                : /* ... */
                               3504                 :                : /* ... */
                               3505                 :                : /* ... */
                               3506                 :                : /* ... */
                               3507                 :                : /* ... */
                               3508                 :                : /* ... */
                               3509                 :                : /* ... */
                               3510                 :                : /* ... */
                               3511                 :                : /* ... */
                               3512                 :                : /* ... */
                               3513                 :                : /* ... */
                               3514                 :                : /* ... */
                               3515                 :                : /* ... */
                               3516                 :                : /* ... */
                               3517                 :                : /* ... */
                               3518                 :                : /* ... */
                               3519                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3520                 :                : /* (content generated from coverage data) */
                               3521                 :                : /* ... */
                               3522                 :                : /* ... */
                               3523                 :                : /* ... */
                               3524                 :                : /* ... */
                               3525                 :                : /* ... */
                               3526                 :                : /* ... */
                               3527                 :                : /* ... */
                               3528                 :                : /* ... */
                               3529                 :                : /* ... */
                               3530                 :                : /* ... */
                               3531                 :                : /* ... */
                               3532                 :                : /* ... */
                               3533                 :                : /* ... */
                               3534                 :                : /* ... */
                               3535                 :                : /* ... */
                               3536                 :                : /* ... */
                               3537                 :                : /* ... */
                               3538                 :                : /* ... */
                               3539                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3540                 :                : /* (content generated from coverage data) */
                               3541                 :                : /* ... */
                               3542                 :                : /* ... */
                               3543                 :                : /* ... */
                               3544                 :                : /* ... */
                               3545                 :                : /* ... */
                               3546                 :                : /* ... */
                               3547                 :                : /* ... */
                               3548                 :                : /* ... */
                               3549                 :                : /* ... */
                               3550                 :                : /* ... */
                               3551                 :                : /* ... */
                               3552                 :                : /* ... */
                               3553                 :                : /* ... */
                               3554                 :                : /* ... */
                               3555                 :                : /* ... */
                               3556                 :                : /* ... */
                               3557                 :                : /* ... */
                               3558                 :                : /* ... */
                               3559                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3560                 :                : /* (content generated from coverage data) */
                               3561                 :                : /* ... */
                               3562                 :                : /* ... */
                               3563                 :                : /* ... */
                               3564                 :                : /* ... */
                               3565                 :                : /* ... */
                               3566                 :                : /* ... */
                               3567                 :                : /* ... */
                               3568                 :                : /* ... */
                               3569                 :                : /* ... */
                               3570                 :                : /* ... */
                               3571                 :                : /* ... */
                               3572                 :                : /* ... */
                               3573                 :                : /* ... */
                               3574                 :                : /* ... */
                               3575                 :                : /* ... */
                               3576                 :                : /* ... */
                               3577                 :                : /* ... */
                               3578                 :                : /* ... */
                               3579                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3580                 :                : /* (content generated from coverage data) */
                               3581                 :                : /* ... */
                               3582                 :                : /* ... */
                               3583                 :                : /* ... */
                               3584                 :                : /* ... */
                               3585                 :                : /* ... */
                               3586                 :                : /* ... */
                               3587                 :                : /* ... */
                               3588                 :                : /* ... */
                               3589                 :                : /* ... */
                               3590                 :                : /* ... */
                               3591                 :                : /* ... */
                               3592                 :                : /* ... */
                               3593                 :                : /* ... */
                               3594                 :                : /* ... */
                               3595                 :                : /* ... */
                               3596                 :                : /* ... */
                               3597                 :                : /* ... */
                               3598                 :                : /* ... */
                               3599                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3600                 :                : /* (content generated from coverage data) */
                               3601                 :                : /* ... */
                               3602                 :                : /* ... */
                               3603                 :                : /* ... */
                               3604                 :                : /* ... */
                               3605                 :                : /* ... */
                               3606                 :                : /* ... */
                               3607                 :                : /* ... */
                               3608                 :                : /* ... */
                               3609                 :                : /* ... */
                               3610                 :                : /* ... */
                               3611                 :                : /* ... */
                               3612                 :                : /* ... */
                               3613                 :                : /* ... */
                               3614                 :                : /* ... */
                               3615                 :                : /* ... */
                               3616                 :                : /* ... */
                               3617                 :                : /* ... */
                               3618                 :                : /* ... */
                               3619                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3620                 :                : /* (content generated from coverage data) */
                               3621                 :                : /* ... */
                               3622                 :                : /* ... */
                               3623                 :                : /* ... */
                               3624                 :                : /* ... */
                               3625                 :                : /* ... */
                               3626                 :                : /* ... */
                               3627                 :                : /* ... */
                               3628                 :                : /* ... */
                               3629                 :                : /* ... */
                               3630                 :                : /* ... */
                               3631                 :                : /* ... */
                               3632                 :                : /* ... */
                               3633                 :                : /* ... */
                               3634                 :                : /* ... */
                               3635                 :                : /* ... */
                               3636                 :                : /* ... */
                               3637                 :                : /* ... */
                               3638                 :                : /* ... */
                               3639                 :                : /* /home/coverage/diff-cov-workdir/pg-current/src/backend/access/nbtree/nbtutils.c not long enough */
                               3640                 :                : /* (content generated from coverage data) */
                               3641                 :                : /* BEGIN: function "BTreeShmemSize" */
                               3642                 :                : /* ... */
                               3643                 :                : /* ... */
                               3644                 :                : /* ... */
                               3645                 :                : /* ... */
                               3646                 :                : /* ... */
                               3647                 :                : /* ... */
                               3648                 :                : /* ... */
                               3649                 :                : /* ... */
                               3650                 :                : /* ... */
                               3651                 :                : /* ... */
                               3652                 :                : /* ... */
                               3653                 :                : /* ... */
                               3654                 :                : /* BEGIN: function "BTreeShmemInit" */
        

Generated by: LCOV version 2.0-1