@@ -110,7 +110,7 @@ printarr(ArrayType *a, int num)
110110initStringInfo (& bbb );
111111for (l = 0 ;l < min (num ,ARRNELEMS (a ));l ++ )
112112appendStringInfo (& bbb ,"%d " ,d [l ]);
113- elog (DEBUG3 ,"\t\t%s" ,bbb .data );
113+ elog (DEBUG4 ,"\t\t%s" ,bbb .data );
114114pfree (bbb .data );
115115}
116116static void
@@ -122,7 +122,7 @@ printbitvec(BITVEC bv)
122122str [SIGLENBIT ]= '\0' ;
123123LOOPBIT (str [i ]= (GETBIT (bv ,i )) ?'1' :'0' );
124124
125- elog (DEBUG3 ,"BV: %s" ,str );
125+ elog (DEBUG4 ,"BV: %s" ,str );
126126}
127127#endif
128128
@@ -589,7 +589,7 @@ inner_int_contains(ArrayType *a, ArrayType *b)
589589db = ARRPTR (b );
590590
591591#ifdef GIST_DEBUG
592- elog (DEBUG3 ,"contains %d %d" ,na ,nb );
592+ elog (DEBUG4 ,"contains %d %d" ,na ,nb );
593593#endif
594594
595595i = j = n = 0 ;
@@ -709,7 +709,7 @@ inner_int_overlap(ArrayType *a, ArrayType *b)
709709db = ARRPTR (b );
710710
711711#ifdef GIST_DEBUG
712- elog (DEBUG3 ,"g_int_overlap" );
712+ elog (DEBUG4 ,"g_int_overlap" );
713713#endif
714714
715715i = j = 0 ;
@@ -1334,7 +1334,7 @@ _int_common_union(bytea *entryvec, int *sizep, formarray unionf)
13341334ArrayType * tmp ;
13351335
13361336#ifdef GIST_DEBUG
1337- elog (DEBUG3 ,"_int_common_union in" );
1337+ elog (DEBUG4 ,"_int_common_union in" );
13381338#endif
13391339
13401340numranges = (VARSIZE (entryvec )- VARHDRSZ ) /sizeof (GISTENTRY );
@@ -1355,12 +1355,12 @@ _int_common_union(bytea *entryvec, int *sizep, formarray unionf)
13551355{
13561356pfree (out );
13571357#ifdef GIST_DEBUG
1358- elog (DEBUG3 ,"_int_common_union out1" );
1358+ elog (DEBUG4 ,"_int_common_union out1" );
13591359#endif
13601360return NULL ;
13611361}
13621362#ifdef GIST_DEBUG
1363- elog (DEBUG3 ,"_int_common_union out" );
1363+ elog (DEBUG4 ,"_int_common_union out" );
13641364#endif
13651365return (out );
13661366
@@ -1380,7 +1380,7 @@ _int_common_penalty(GISTENTRY *origentry, GISTENTRY *newentry, float *result,
13801380tmp2 ;
13811381
13821382#ifdef GIST_DEBUG
1383- elog (DEBUG3 ,"penalty" );
1383+ elog (DEBUG4 ,"penalty" );
13841384#endif
13851385ud = (* unionf ) ((ArrayType * )DatumGetPointer (origentry -> key ),
13861386(ArrayType * )DatumGetPointer (newentry -> key ));
@@ -1390,7 +1390,7 @@ _int_common_penalty(GISTENTRY *origentry, GISTENTRY *newentry, float *result,
13901390pfree (ud );
13911391
13921392#ifdef GIST_DEBUG
1393- elog (DEBUG3 ,"--penalty\t%g" ,* result );
1393+ elog (DEBUG4 ,"--penalty\t%g" ,* result );
13941394#endif
13951395
13961396return (result );
@@ -1451,7 +1451,7 @@ _int_common_picksplit(bytea *entryvec,
14511451SPLITCOST * costvector ;
14521452
14531453#ifdef GIST_DEBUG
1454- elog (DEBUG3 ,"--------picksplit %d" , (VARSIZE (entryvec )- VARHDRSZ ) /sizeof (GISTENTRY ));
1454+ elog (DEBUG4 ,"--------picksplit %d" , (VARSIZE (entryvec )- VARHDRSZ ) /sizeof (GISTENTRY ));
14551455#endif
14561456
14571457maxoff = ((VARSIZE (entryvec )- VARHDRSZ ) /sizeof (GISTENTRY ))- 2 ;
@@ -1609,7 +1609,7 @@ _int_common_picksplit(bytea *entryvec,
16091609v -> spl_rdatum = PointerGetDatum (datum_r );
16101610
16111611#ifdef GIST_DEBUG
1612- elog (DEBUG3 ,"--------ENDpicksplit %d %d" ,v -> spl_nleft ,v -> spl_nright );
1612+ elog (DEBUG4 ,"--------ENDpicksplit %d %d" ,v -> spl_nleft ,v -> spl_nright );
16131613#endif
16141614return v ;
16151615}
@@ -1962,7 +1962,7 @@ static void
19621962findoprnd (ITEM * ptr ,int4 * pos )
19631963{
19641964#ifdef BS_DEBUG
1965- elog (DEBUG3 , (ptr [* pos ].type == OPR ) ?
1965+ elog (DEBUG4 , (ptr [* pos ].type == OPR ) ?
19661966"%d %c" :"%d %d " ,* pos ,ptr [* pos ].val );
19671967#endif
19681968if (ptr [* pos ].type == VAL )
@@ -2045,7 +2045,7 @@ bqarr_in(PG_FUNCTION_ARGS)
20452045else
20462046appendStringInfo (& pbuf ,"%d " ,ptr [i ].val );
20472047}
2048- elog (DEBUG3 ,"POR: %s" ,pbuf .data );
2048+ elog (DEBUG4 ,"POR: %s" ,pbuf .data );
20492049pfree (pbuf .data );
20502050#endif
20512051