Re: pg_dump help

From: "Ross J(dot) Reedstrom" <reedstrm(at)rice(dot)edu>
To: Len Morgan <len-morgan(at)crcom(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dump help
Date: 2000-08-08 14:44:36
Message-ID: 20000808094436.A3338@rice.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Aug 08, 2000 at 08:20:16AM -0500, Len Morgan wrote:
> -----Original Message-----
> From: Robert D. Nelson <RDNELSON(at)co(dot)centre(dot)pa(dot)us>
>
> >>I am trying to copy a table from my local database to a client's. The
> >>problem is I keep getting a message from pg_dump:
> >>
> >>"can't find template1 database. You are really hosed."
> >
>
> I still seem to have an additional problem though that is somewhat related:
>
> All of my tables, indexes, and sequences are doubled if you do a \dt or \di
> or \ds!
>

Hmm, this sounds like an old problem with the pg_user table getting corrupt.
try: SELECT * FROM pg_user. Do you see only one user named postgres? ISTR
that this could even cause the 'can't find template1 database' error.

Ross
--
Ross J. Reedstrom, Ph.D., <reedstrm(at)rice(dot)edu>
NSBRI Research Scientist/Programmer
Computer and Information Technology Institute
Rice University, 6100 S. Main St., Houston, TX 77005

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Philip Warner 2000-08-08 15:40:16 Re: [HACKERS] Re: Trouble with float4 afterupgrading from 6.5.3 to 7.0.2
Previous Message Steve Heaven 2000-08-08 14:36:51 Re: Query plan and sub-queries