Re: pg_dump problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump problem
Дата
Msg-id 26934.992449983@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_dump problem  ("C. R. Oldham" <cro@ncacasi.org>)
Список pgsql-general
"C. R. Oldham" <cro@ncacasi.org> writes:
> p0 rack[46]% pg_dump -S postgres --no-owner test > ~/test.dump
> dumpSequence(user_id_sequence): SELECT failed.  Explanation from backend:
> 'ERROR:  user_id_sequence: Permission denied.

Hmm.  Which user is pg_dump connecting as?  (The -S switch does not
answer this question, btw; that only determines what's emitted into
the output script.)  I would expect behavior like this if you are
connecting as someone who's neither a superuser nor the sequence
owner.  Check PGUSER and USER environment variables.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: 7.1.2 temporary file area
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Re: Does PostgreSQL support EXISTS?