Re: Restoring from pg_data - Mailing list pgsql-novice

From Jasen Betts
Subject Re: Restoring from pg_data
Date
Msg-id idvhkt$86i$1@reversiblemaps.ath.cx
Whole thread Raw
In response to Restoring from pg_data  (Rafael Enrique Ortiz Guerrero <dirakx@gmail.com>)
Responses Re: Restoring from pg_data
List pgsql-novice
On 2010-12-07, Rafael Enrique Ortiz Guerrero <dirakx@gmail.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

pgsql-novice by date:

Previous
From: Vaduvoiu Tiberiu
Date:
Subject: Infinite/Huge loop in query
Next
From: Rafael Enrique Ortiz Guerrero
Date:
Subject: Re: Restoring from pg_data