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

From Alvaro Herrera
Subject Re: Patch to fix search_path defencies with pg_bench
Date
Msg-id 20090506191305.GJ4476@alvh.no-ip.org
Whole thread Raw
In response to Re: Patch to fix search_path defencies with pg_bench  ("Dickson S. Guedes" <listas@guedesoft.net>)
Responses Re: Patch to fix search_path defencies with pg_bench  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: Patch to fix search_path defencies with pg_bench  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Dickson S. Guedes wrote:
> Em Qua, 2009-05-06 às 09:37 -0400, Tom Lane escreveu:

> > Seems like the right policy for that is "run pgbench in its own
> > database". 
> 
> A text warning about this could be shown at start of pgbench if the
> target database isn't named "pgbench", for examplo, or just some text
> could be added to the docs.

I think it would be better that the schema is specified on the command
line.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: lazy vacuum blocks analyze
Next
From: Tom Lane
Date:
Subject: Re: lazy vacuum blocks analyze