Re: re-instalation

From: "Brett W(dot) McCoy" <bmccoy(at)chapelperilous(dot)net>
To: "Martin A(dot) Marques" <martin(at)math(dot)unl(dot)edu(dot)ar>
Cc: <pgsql-general(at)postgresql(dot)org>, Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: re-instalation
Date: 2001-01-20 01:32:41
Message-ID: Pine.LNX.4.30.0101192030400.28271-100000@chapelperilous.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Fri, 19 Jan 2001, Martin A. Marques wrote:

> I had to re-compile and re-install postgresql-7.1-beta1.
> I changed the directory where it was installed from /usr/local/pgsql to
> /dbs/postgres/. After re-installing I copied the data/ directory that was
> under the old instalation to where I have the new instalation.
> After a bit of work I got it to work, but when I conect to any of the
> databases I see tables that don't belong there:

You probably should have used pg_dumpall to backup the databases and
restore them after the rebuild. That's a more reliable way of migrating
your data.

> horde=# \dt
> List of relations
> Name | Type | Owner
> -----------------+-------+----------
> active_sessions | table | postgres
> imp_addr | table | postgres
> imp_pref | table | postgres
> pga_forms | table | postgres
> pga_queries | table | postgres
> pga_reports | table | postgres
> pga_schema | table | postgres
> pga_scripts | table | postgres
> (8 rows)
>
> Any ideas why those pg* tables are there?

Those are system tables created and used by pgAccess.

-- Brett
http://www.chapelperilous.net/~bmccoy/
---------------------------------------------------------------------------
Never look a gift horse in the mouth.
-- Saint Jerome

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron Chmara 2001-01-20 02:38:44 Re: RE: Why is there so much MySQL bashing???
Previous Message Peter Eisentraut 2001-01-19 22:58:30 Re: SQL on startup

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-01-20 02:41:29 Re: length coerce for bpchar is broken since 7.0
Previous Message Cameron Laird 2001-01-20 01:28:53 question