Skip site navigation (1) Skip section navigation (2)

Re: Restoring from pg_data

From: Jasen Betts <jasen(at)xnet(dot)co(dot)nz>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Restoring from pg_data
Date: 2010-12-11 09:52:29
Message-ID: idvhkt$86i$1@reversiblemaps.ath.cx (view raw or flat)
Thread:
Lists: pgsql-novice
On 2010-12-07, Rafael Enrique Ortiz Guerrero <dirakx(at)gmail(dot)com> wrote:

> I have a server executable of the postgres version that the DB was working
> on, the problem is that i have two versions of postgres running in that
> server, but only the latest version (8.4) seems to be getting up the DBs,
> while the old version don't, I've checked and all the DBs are there in
> $PGDATA, I've tried with psql and it only shows the 8.4 DBs not the 8.2 DBs.
>
> What can I do?

what os + distro

for debian linux you could try

psql --cluster 8.2/main -l

and/or 

pg_dumpall --cluster 8.2/main

for more info on the debian weirdness see the documentation for the
postgresql-common package and the pg_wrapper man-page

--
⚂⚃ 100% natural

In response to

Responses

pgsql-novice by date

Next:From: Rafael Enrique Ortiz GuerreroDate: 2010-12-11 14:43:26
Subject: Re: Restoring from pg_data
Previous:From: Vaduvoiu TiberiuDate: 2010-12-10 10:20:43
Subject: Infinite/Huge loop in query

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group