Re: [PORTS] Port Bug Report: Tables, indexes...really owned by postgres are ghosted by other user

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: terry(at)terrym(dot)com
Cc: pgsql-ports(at)postgreSQL(dot)org
Subject: Re: [PORTS] Port Bug Report: Tables, indexes...really owned by postgres are ghosted by other user
Date: 1999-04-13 14:43:21
Message-ID: 199904131443.KAA13900@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

> While trying to load a dump from my server on to my laptop,
> it came to my attention (many errors) that every thing had
> dumped 3 times! Each thing (tables, indexes, user def. functions,
> triggers...) would dump the real one (owned by postgres), then
> dump 2 more copies owned by terry (me), who should not have
> owned any thing.
>
> I first tried a 'vacuum analyze;', but that did not help,
> so then I vacuumed the template db, but that did not help.
> So then I did a 'destroyuser terry' and all the ghost stuff
> was gone :)

Do you have multiple entries in pg_user or pg_class?

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Browse pgsql-ports by date

  From Date Subject
Next Message Unprivileged user 1999-04-13 16:43:28 Port Bug Report: syntax errors in spinlocks (s_lock.h)
Previous Message Bruce Momjian 1999-04-13 14:40:15 Re: [PORTS] Port Bug Report: Suggestion: Allow users to specify optimizer hints or strategies.