mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Fix bug corrupting query in gist consistent function.
Thank to Mario Weilguni <mweilguni@sime.com> to discover a bug.
This commit is contained in:
@ -580,5 +580,6 @@ _ltree_consistent(PG_FUNCTION_ARGS)
|
||||
/* internal error */
|
||||
elog(ERROR, "unrecognized StrategyNumber: %d", strategy);
|
||||
}
|
||||
PG_FREE_IF_COPY(query,1);
|
||||
PG_RETURN_BOOL(res);
|
||||
}
|
||||
|
Reference in New Issue
Block a user