| От | Tom Lane |
|---|---|
| Тема | Re: pg_dump Error |
| Дата | |
| Msg-id | 28954.1088518563@sss.pgh.pa.us обсуждение |
| Ответ на | pg_dump Error ("Nigel Bishop" <Nigel.Bishop@ioko.com>) |
| Список | pgsql-admin |
"Nigel Bishop" <Nigel.Bishop@ioko.com> writes:
> pg_dump: Attempt to lock table "Foo" failed. ERROR: MySchema:
> permission denied
Looks like you need to grant yourself usage rights on the schema
"MySchema".
> If I try to drop this it errors saying the table foo doesn't exist.
Can't tell whether you forgot to schema-qualify the name or whether
you forgot to quote it to protect the mixed case, but something
along the lines of
drop table "MySchema"."Foo";
is what you would need. Note that that will also fail unless you've
fixed the permissions problem for MySchema, though.
> Where did this object come from
Presumably, you created it.
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера