\d shows all my tables twice
\d shows all my tables twice
От:
Karl DeBisschop <kdebisschop@range.infoplease.com>
Дата:
I'm using the postgresql-6.5.3-1 rpm from PostgreSQLs website on redhat 6.0 Some time between yesterday and today postgres developed the habit of listing all may table twice when I do \d or \dS from psql. Right now this is only annoying, but does this mean there is a system corruption I need to fix? I've destroyed all my databases other than template1 and vacuumed in template1. My next thought is to reinstall, but I'd rather not if I don't have too. -- Karl DeBisschop 617.832.0332 (Fax: 617.956.2696) Information Please - your source for FREE online reference http://www.infoplease.com - Your Ultimate Fact Finder http://kids.infoplease.com - The Great Homework Helper Netsaint Development http://netsaintplug.sourceforge.net
Re: [GENERAL] \d shows all my tables twice
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
You have duplicate entries in pg_shadow/pg_user table. > > I'm using the postgresql-6.5.3-1 rpm from PostgreSQLs website on > redhat 6.0 > > Some time between yesterday and today postgres developed the habit of > listing all may table twice when I do \d or \dS from psql. Right now > this is only annoying, but does this mean there is a system corruption > I need to fix? > > I've destroyed all my databases other than template1 and vacuumed in > template1. My next thought is to reinstall, but I'd rather not if I > don't have too. > > -- > Karl DeBisschop > 617.832.0332 (Fax: 617.956.2696) > > Information Please - your source for FREE online reference > http://www.infoplease.com - Your Ultimate Fact Finder > http://kids.infoplease.com - The Great Homework Helper > > Netsaint Development > http://netsaintplug.sourceforge.net > > ************ > > -- 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
Re: [GENERAL] \d shows all my tables twice
От:
Karl DeBisschop <kdebisschop@range.infoplease.com>
Дата:
> From: Bruce Momjian > > You have duplicate entries in pg_shadow/pg_user table. > > > > > I'm using the postgresql-6.5.3-1 rpm from PostgreSQLs website on > > redhat 6.0 > > > > Some time between yesterday and today postgres developed the habit of > > listing all may table twice when I do \d or \dS from psql. Right now > > this is only annoying, but does this mean there is a system corruption > > I need to fix? > > > > I've destroyed all my databases other than template1 and vacuumed in > > template1. My next thought is to reinstall, but I'd rather not if I > > don't have too. > > > > -- > > Karl DeBisschop Dead on right. Duplicates for postgres itself and the two admins. Thanks. By the way, you guys are great. I really appreciate the work you do. And I wanted to say the the RPM packaging was very well done in my opinion - it installed like a dream, and the init script did a perfect job of saving me the effort of manually initializing the DBMS. Kudos to all involved. -- Karl DeBisschop 617.832.0332 (Fax: 617.956.2696) Information Please - your source for FREE online reference http://www.infoplease.com - Your Ultimate Fact Finder http://kids.infoplease.com - The Great Homework Helper Netsaint Plugins Development http://netsaintplug.sourceforge.net
Re: [GENERAL] \d shows all my tables twice
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
> Dead on right. Duplicates for postgres itself and the two admins. > Thanks. > > By the way, you guys are great. I really appreciate the work you do. > And I wanted to say the the RPM packaging was very well done in my > opinion - it installed like a dream, and the init script did a perfect > job of saving me the effort of manually initializing the DBMS. Kudos > to all involved. Next release will not allow this problem to happen. -- 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
Re: [GENERAL] \d shows all my tables twice
От:
Stephen Walton <swalton@galileo.csun.edu>
Дата:
I second Karl DeBisschop's comments below. It took me hours to get postgresql working on an HP/UX system, compared with minutes on Linux. I'm using Linux as our main database server now. By the way, I know about using pg_dump to backup the database and I do that. Is there a good way to maintain a second identical copy of the database on another machine? Will simply copying the dump over and restoring it with psql do the trick? Would I need to delete an old copy of the same database first? We have a somewhat slow Internet connection to our Linux system's location and it would be nice to have an alternate site with the same data. -- Stephen Walton, Professor of Physics and Astronomy, California State University, Northridge stephen.walton@csun.edu On Fri, 10 Dec 1999, Karl DeBisschop wrote: > > By the way, you guys are great. I really appreciate the work you do. > And I wanted to say the the RPM packaging was very well done in my > opinion - it installed like a dream, and the init script did a perfect > job of saving me the effort of manually initializing the DBMS. Kudos > to all involved.
Mirroring a DB (was Re: [GENERAL] \d shows all my tables twice)
От:
Karl DeBisschop <kdebisschop@range.infoplease.com>
Дата:
> By the way, I know about using pg_dump to backup the database and I do > that. Is there a good way to maintain a second identical copy of the > database on another machine? Will simply copying the dump over and > restoring it with psql do the trick? Would I need to delete an old copy > of the same database first? We have a somewhat slow Internet connection > to our Linux system's location and it would be nice to have an alternate > site with the same data. We sometimes do: pg_dump -o -h
Re: Mirroring a DB
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
On 1999-12-10, Karl DeBisschop mentioned: > pg_dump -o -h
Re: Mirroring a DB
От:
Karl DeBisschop <kdebisschop@range.infoplease.com>
Дата:
> From: Peter Eisentraut > > On 1999-12-10, Karl DeBisschop mentioned: > > > pg_dump -o -h