| От | Tom Lane |
|---|---|
| Тема | Re: Patch to fix search_path defencies with pg_bench |
| Дата | |
| Msg-id | 24357.1241637485@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Patch to fix search_path defencies with pg_bench ("Dickson S. Guedes" <listas@guedesoft.net>) |
| Ответы |
Re: Patch to fix search_path defencies with pg_bench
|
| Список | pgsql-hackers |
"Dickson S. Guedes" <listas@guedesoft.net> writes:
> 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.
There already is a prominent warning in the pgbench docs:
Caution
pgbench -i creates four tables accounts, branches, history, andtellers, destroying any existing tables of these names.
Beverycareful to use another database if you have tables having thesenames!
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера