pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: 270246512@qq.com
Subject: BUG #16101: tables in the DB is not available after pg_restore
Date: Fri, 08 Nov 2019 07:37:24 +0000
Message-ID: <16101-5a569e5aac6aa84e@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      16101
Logged by:          zeng
Email address:      270246512@qq.com
PostgreSQL version: 10.10
Operating system:   suse
Description:        

hi, 
I have one question about pg_restore tool, tables in the DB is not available
after 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.



view thread (8+ messages)  latest in thread

Message-ID: <16101-5a569e5aac6aa84e@postgresql.org>
Permalink:  ../16101-5a569e5aac6aa84e@postgresql.org/
Also on:    postgresql.org/message-id/16101-5a569e5aac6aa84e@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, 270246512@qq.com
  Subject: Re: BUG #16101: tables in the DB is not available after pg_restore
  In-Reply-To: <16101-5a569e5aac6aa84e@postgresql.org>
  References: <16101-5a569e5aac6aa84e@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox