mirror of
https://github.com/postgres/postgres.git
synced 2026-05-28 04:35:45 -04:00
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:
parent
79aabd140d
commit
3c3c610c57
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue