Re: BUG #14009: pg_restore not restoring privilegs when one login/group role is missing

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #14009: pg_restore not restoring privilegs when one login/group role is missing
Дата
Msg-id 27348.1458010635@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #14009: pg_restore not restoring privilegs when one login/group role is missing  (Alexander Spiteri <alexander@spiteri.org>)
Ответы Re: BUG #14009: pg_restore not restoring privilegs when one login/group role is missing  (Alexander Spiteri <alexander@spiteri.org>)
Список pgsql-bugs
Alexander Spiteri <alexander@spiteri.org> writes:
> I tried the command as you suggested but still had the same issue.
> [postgres@server4 ~]$ pg_restore -p 5432 -d stgsample04
> /var/lib/pgsql/data/dumps/stgsample01_schema.dump | psql

Uh, no, you need to drop the -d switch from the pg_restore call ...
(and the -p switch is useless as well)

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #14021: configure failing to find shared libperl
Следующее
От: b.yordanov2@gmail.com
Дата:
Сообщение: BUG #14020: row_number() over(partition by order by) - weird behavior