From: | PG Doc comments form <noreply(at)postgresql(dot)org> |
---|---|
To: | pgsql-docs(at)lists(dot)postgresql(dot)org |
Cc: | 270246512(at)qq(dot)com |
Subject: | tables in the DB is not available after pg_restore. |
Date: | 2019-11-08 06:43:43 |
Message-ID: | 157319542323.14272.7789870140816160282@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Daniel Gustafsson | 2019-11-08 08:52:48 | Re: The word "virgin" used incorrectly and probably better off replaced |
Previous Message | Michael Paquier | 2019-11-08 00:05:19 | Re: wal_sender_timeout / wal_receiver_timeout - seconds or milliseconds? |