Skip to content

Commit

Permalink
Merge pull request #192 from MoonInsung/master
Browse files Browse the repository at this point in the history
Fix a parallel processing fails for indexes with operators from public schema.
  • Loading branch information
MasahikoSawada authored Oct 24, 2018
2 parents 9bfd945 + d369d1a commit 923fa2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/pgut/pgut-fe.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ setup_workers(int num_workers)
}

/* Hardcode a search path to avoid injections into public or pg_temp */
pgut_command(conn, "SET search_path TO pg_catalog, pg_temp", 0, NULL);
pgut_command(conn, "SET search_path TO pg_catalog, pg_temp, public", 0, NULL);

/* Make sure each worker connection can work in non-blocking
* mode.
Expand Down
2 changes: 1 addition & 1 deletion bin/pgut/pgut.c
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ pgut_connect(const char *info, YesNo prompt, int elevel)
free(passwd);

/* Hardcode a search path to avoid injections into public or pg_temp */
pgut_command(conn, "SET search_path TO pg_catalog, pg_temp", 0, NULL);
pgut_command(conn, "SET search_path TO pg_catalog, pg_temp, public", 0, NULL);

return conn;
}
Expand Down

0 comments on commit 923fa2f

Please sign in to comment.