Re: dropping all databases and starting afresh

From: Zoltan Szecsei <zoltans(at)geograph(dot)co(dot)za>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: dropping all databases and starting afresh
Date: 2015-02-04 12:15:40
Message-ID: 54D20D6C.9050504@geograph.co.za
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

OK - cool - thanks for the tips.
Regards,
Zoltan
On 02/04/2015 02:02 PM, Matheus de Oliveira wrote:
>
> On Wed, Feb 4, 2015 at 9:23 AM, Zoltan Szecsei <zoltans(at)geograph(dot)co(dot)za
> <mailto:zoltans(at)geograph(dot)co(dot)za>> wrote:
>
> In the end I just rm -rf'd the files, as suggested by others on
> this list. I was initially concerned about that simple approach,
> as I figured that many postgres conf files will still point to
> that deleted area - but as postgres will not run again until I do
> an initdb -D command, it (should) goes to follow that those conf
> files will then be correctly updated.
>
>
> Yeah, I understand your concern, and I do agree. On installation from
> packages on Debian/Ubuntu-like, you should keep with the cluster
> management tools provided, like pg_createcluster instead of initdb,
> pg_ctlcluster instead of pg_ctl, pg_dropcluster instead of rm, and so on.
>
> Regards,
> --
> Matheus de Oliveira
> Analista de Banco de Dados
> Dextra Sistemas - MPS.Br nível F!
> www.dextra.com.br/postgres <http://www.dextra.com.br/postgres/>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Ferrell, Denise CTR NSWCDD, Z11 2015-02-04 19:39:29 ORACLE_FDW using a view
Previous Message Matheus de Oliveira 2015-02-04 12:02:06 Re: dropping all databases and starting afresh