Re: Restoring from pg_data

Поиск
Список
Период
Сортировка
От Rafael Enrique Ortiz Guerrero
Тема Re: Restoring from pg_data
Дата
Msg-id AANLkTinEF2kO02-XMtK1UPXwTYy8X7scQ8N_Mc0RaZ_T@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Restoring from pg_data  (Jasen Betts <jasen@xnet.co.nz>)
Список pgsql-novice
Hi Jasen


On Sat, Dec 11, 2010 at 4:52 AM, Jasen Betts <jasen@xnet.co.nz> wrote:
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


Great this is what  was looking for, I'm always running Ubuntu/Debian servers so this is useful.



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


Thanks! 
--
⚂⚃ 100% natural

--
Sent via pgsql-novice mailing list (pgsql-novice@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice

В списке pgsql-novice по дате отправления:

Предыдущее
От: Jasen Betts
Дата:
Сообщение: Re: Restoring from pg_data
Следующее
От: Machiel Richards
Дата:
Сообщение: pgstatspack version?