tables in the DB is not available after pg_restore.

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема tables in the DB is not available after pg_restore.
Дата
Msg-id 157319542323.14272.7789870140816160282@wrigleys.postgresql.org
обсуждение исходный текст
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/app-pgrestore.html
Description:

Hi, 

I have one question about pg_restore tool, tables in the DB is not available
after pg_restore. Even if the user is still the owner of table after
restore.
Steps:
1.    Create one database and the owner is user1. And create table and pop
the data with user1
2.    Use pg_dump tool to backup one database with superuser postgres.
3.    Use pg_restore tool to restore the database with the parameter –clean
and supper user.
4.    Connect the db with user1 and found the user does not select table as
below.
  cdb=> \dt
Did not find any relations.

Thanks
Zeng

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: wal_sender_timeout / wal_receiver_timeout - seconds ormilliseconds?
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: The word "virgin" used incorrectly and probably better offreplaced