A recent backpatch to 7.3's contrib/ltree got mixed up, putting code in the wrong place. This moves it to the right place which allows it to compile.


Kris Jurka
Index: contrib/ltree/_ltree_gist.c
===================================================================
RCS file: /projects/cvsroot/pgsql/contrib/ltree/_ltree_gist.c,v
retrieving revision 1.4.2.2
diff -c -r1.4.2.2 _ltree_gist.c
*** contrib/ltree/_ltree_gist.c 11 Jul 2006 16:11:06 -0000      1.4.2.2
--- contrib/ltree/_ltree_gist.c 13 Jul 2006 14:30:12 -0000
***************
*** 609,615 ****
                curq = LQL_NEXT(curq);
                qlen--;
        }
-       PG_FREE_IF_COPY(query,1);
  
        return true;
  }
--- 609,614 ----
***************
*** 645,649 ****
--- 644,649 ----
                default:
                        elog(ERROR, "Unknown StrategyNumber: %d", strategy);
        }
+       PG_FREE_IF_COPY(query,1);
        PG_RETURN_BOOL(res);
  }
---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to