Re: Patch to fix search_path defencies with pg_bench - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Patch to fix search_path defencies with pg_bench
Date
Msg-id 27657.1241733770@sss.pgh.pa.us
Whole thread Raw
In response to Patch to fix search_path defencies with pg_bench  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-hackers
"Joshua D. Drake" <jd@commandprompt.com> writes:
> --- a/contrib/pgbench/pgbench.c
> +++ b/contrib/pgbench/pgbench.c
> @@ -357,8 +357,6 @@ doConnect(void)
>                 return NULL;
>         }
>  
> -       executeStatement(conn, "SET search_path = public");
> -
>         return conn;
>  }

Applied along with changes of table names accounts -> pgbench_accounts
etc, per discussion.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Serializable Isolation without blocking
Next
From: "Kevin Grittner"
Date:
Subject: Re: Serializable Isolation without blocking