Re: Exclude pg_largeobject form pg_dump
| От | Tom Lane |
|---|---|
| Тема | Re: Exclude pg_largeobject form pg_dump |
| Дата | |
| Msg-id | 10931.1457453443@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Exclude pg_largeobject form pg_dump (Andreas Joseph Krogh <andreas@visena.com>) |
| Ответы |
Re: Exclude pg_largeobject form pg_dump
|
| Список | pgsql-general |
Andreas Joseph Krogh <andreas@visena.com> writes:
> På tirsdag 08. mars 2016 kl. 16:54:19, skrev Adrian Klaver <
> adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>>:
> Off hand I would say you are running pg_dump as a user that is not a
> superuser:
> Yes, since when should I not be able to dump a DB (owned by a non-superuser)
> as that user?
The problem is that -t '*' is being interpreted as matching system
catalogs. You might be able to get somewhere with
pg_dump -t '*' -N pg_catalog ...
Probably we should fix pg_dump so it doesn't try to dump system catalogs
as tables, even if the switches seem to ask it to.
regards, tom lane
В списке pgsql-general по дате отправления: