Re: recatalog existing databases after re-build from source

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: gnuoytr(at)rcn(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: recatalog existing databases after re-build from source
Date: 2009-03-13 19:49:30
Message-ID: 1236973770.7023.78.camel@jd-laptop.pragmaticzealot.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 2009-03-13 at 15:28 -0400, gnuoytr(at)rcn(dot)com wrote:
> Going through the PLPython threads on the Planet, I realied that I needed plpython. So I rebuilt PG with python, expecting that I could then re-catalog the databases. But, not. initdb, wants the data directory, which is where the database files are, and doesn't run if it's not empty. The data directories have descriptive names like 16431, etc.
>
> These are only small test db's; losing them is not a big deal, but is there a way to get them back?
>
> When I went to createlang I got the no "root" user message, which is why I went to look at initdb. adduser says that postgres user exists, which makes sense.
>

I am having a hard time understanding your problem. Why do you have to
recatalog the databases? Why not just createlang -u postgres?

Joshua D. Drake

> thanks,
> Robert
>
--
PostgreSQL - XMPP: jdrake(at)jabber(dot)postgresql(dot)org
Consulting, Development, Support, Training
503-667-4564 - http://www.commandprompt.com/
The PostgreSQL Company, serving since 1997

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeremy Harris 2009-03-13 20:14:17 Re: I don't want to back up index files
Previous Message gnuoytr 2009-03-13 19:28:57 recatalog existing databases after re-build from source