Re: [PORTS] Port Bug Report: Tables, indexes...really owned by postgres are ghosted by other user
Re: [PORTS] Port Bug Report: Tables, indexes...really owned by postgres are ghosted by other user
От:
Bruce Momjian <maillist@candle.pha.pa.us>
Дата:
> 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@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026