Re: Phantom groups - Mailing list pgsql-general

From Scott Marlowe
Subject Re: Phantom groups
Date
Msg-id 1152126690.13851.39.camel@state.g2switchworks.com
Whole thread Raw
In response to Re: Phantom groups  (Chris <dmagick@gmail.com>)
List pgsql-general
On Tue, 2006-07-04 at 22:41, Chris wrote:
> Carlos H. Reimer wrote:
> > Hi,
> >
> > I´m planning to migrate from 7.4 to 8.0.7 and I discovered some strange
> > behavior during migration.
> >
> > pg_dump inserted GRANT to phantom groups. They do not exist in pg_group;
> >
> > When the script created by pg_dump is processed by psql during restore,
> > these GRANTs produce a lot of errors.
>
> pg_dump won't include users and groups. pg_dumpall would include that
> information but of course includes all databases.

Alternately, if you give pg_dumpall the -g switch, you'll get just that
global user data.

pgsql-general by date:

Previous
From: Chris Browne
Date:
Subject: Re: Notes on converting from MySQL 5.0.x to PostgreSQL
Next
From: Jochem van Dieten
Date:
Subject: Re: [JDBC] Is what I want possible and if so how?