Skip to content

Commit

Permalink
Merge pull request #24 from psoo/fix_get_search_path_xor
Browse files Browse the repository at this point in the history
Fix backend crash in case an empty search_path was set.
  • Loading branch information
amenonsen committed Aug 2, 2013
2 parents cce5062 + 1d0dc0a commit 8104273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pg_stat_plans.c
Expand Up @@ -1608,7 +1608,7 @@ static Oid
get_search_path_xor(void)
{
bool skip_first = true;
List *search_path = fetch_search_path(false);
List *search_path = fetch_search_path(true);
Oid res = linitial_oid(search_path);
ListCell *lc;

Expand Down

0 comments on commit 8104273

Please sign in to comment.