Re: Schema problems RedHat / SuSE 9.3 for version 7.4.8

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Dick Kniep <dick(at)kniep(dot)nl>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Schema problems RedHat / SuSE 9.3 for version 7.4.8
Date: 2005-09-03 15:49:44
Message-ID: 20050903154944.GA86792@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, Sep 03, 2005 at 04:07:34PM +0200, Dick Kniep wrote:
> Again after reconsidering the way this problem came to be, it struck me that I
> used a pg_dump -f /tmp/dumpdb and restored with psql. How can it be that not
> all grants of the schema's, views and tables are restored? There were no
> messages during the restore that could be interpreted as an indication that
> the grants were not restored.

Do the necessary GRANT statements appear in the dump? What permissions
do you see if you restore the dump again into a newly-created database?
Among other ways, you can use psql's \z command to see permissions (you
might need use "\z schemaname." or set your search_path to see what you're
interested in).

--
Michael Fuhr

In response to

Browse pgsql-general by date

  From Date Subject
Next Message cooneyb 2005-09-03 16:29:25 FAQ/Documentation about Postgresql on Windows XP
Previous Message Tom Lane 2005-09-03 15:44:43 Re: LOG: unexpected EOF within message length word