Re: pg_dump in 7.2.4 with trigger functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump in 7.2.4 with trigger functions
Дата
Msg-id 20380.1107190398@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_dump in 7.2.4 with trigger functions  (Steve Wampler <swampler@noao.edu>)
Ответы Re: pg_dump in 7.2.4 with trigger functions
Список pgsql-general
Steve Wampler <swampler@noao.edu> writes:
> ->gunzip <atst.logdb.out.gz | psql -q
> ERROR:  permission denied to set session authorization
> ERROR:  permission denied for language c
> ERROR:  must be superuser to create procedural language

> I see all the permission denied messages, but why?  How can a user
> create a dump that they cannot load back in (the user has createdb *and*
> createuser permissions)?

Which part of "must be superuser" are you not following?  The database
contains objects that were created by a superuser, and therefore the
restore will have to be run as superuser.

7.2's pg_dump may also have some problems with choosing the wrong dump
order, but there's not evidence of that here.

            regards, tom lane

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

Предыдущее
От: Steve Wampler
Дата:
Сообщение: Re: pg_dump in 7.2.4 with trigger functions
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: pg_dump in 7.2.4 with trigger functions