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. Patch from Kris Jurka.
This commit is contained in:
Neil Conway 2006-07-14 00:32:46 +00:00
parent 79aabd140d
commit 3c3c610c57

View file

@ -609,7 +609,6 @@ gist_qe(ltree_gist * key, lquery * query)
curq = LQL_NEXT(curq);
qlen--;
}
PG_FREE_IF_COPY(query,1);
return true;
}
@ -645,5 +644,6 @@ _ltree_consistent(PG_FUNCTION_ARGS)
default:
elog(ERROR, "Unknown StrategyNumber: %d", strategy);
}
PG_FREE_IF_COPY(query,1);
PG_RETURN_BOOL(res);
}