pg_restore 12 "permission denied for schema" errors

Поиск
Список
Период
Сортировка
От Ron
Тема pg_restore 12 "permission denied for schema" errors
Дата
Msg-id 287717df-88e2-a4a5-2025-260c39662bca@gmail.com
обсуждение исходный текст
Ответы Re: pg_restore 12 "permission denied for schema" errors  (Frank Gard <frank.von.postgresql.org@familie-gard.de>)
Список pgsql-general
RDS Postgresql 12.11

Backed up a database from one RDS instance, and now am trying to restore it 
to a new instance.  (If you're wondering why, it's to restore in an instance 
with less disk space.)

Here are the commands:

export PGHOST=${RDSENV}.xxxxxxxxxxxx.us-east-1.rds.amazonaws.com
cd /migrate/TASK001793786/2022-10-19b
DB=sides
pg_restore -v --create --clean --jobs=`nproc` -Fd --dbname=template1 $DB

Attached are log file extracts showing the errors.  The errors are only on 
partitioned child tables, the list of which is also attached.  However, some 
(but not many)

Some of the erroring tables are owned by sides_owner and some are owned by 
"stransuser".

"\z" on a child with errors looks exactly like a child without errors.

What could be the problem?

-- 
Angular momentum makes the world go 'round.
Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Postgres 15 upgrades and template1 public schema
Следующее
От: Lists
Дата:
Сообщение: PG RPMS for RHEL 9 on aarch64?