pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zoltan Szecsei <zoltans@geograph.co.za>
To: pgsql-admin@postgresql.org
Subject: Re: dropping all databases and starting afresh
Date: Wed, 04 Feb 2015 14:15:40 +0200
Message-ID: <54D20D6C.9050504@geograph.co.za> (raw)
In-Reply-To: <CAJghg4KMgC9JxXhsvysacd8q6iud1u2_X88xF7+YTTjmFo73BQ@mail.gmail.com>
References: <54CFAB3C.2020700@geograph.co.za>
	<CAJghg4JhCsT4mcip-97+PUBn=QDi+YewhOG8n693DCmVpV91jQ@mail.gmail.com>
	<54D2012B.5040309@geograph.co.za>
	<CAJghg4KMgC9JxXhsvysacd8q6iud1u2_X88xF7+YTTjmFo73BQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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@geograph.co.za 
> <mailto:zoltans@geograph.co.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/;
>

view thread (8+ messages)

Message-ID: <54D20D6C.9050504@geograph.co.za>
Permalink:  ../54D20D6C.9050504@geograph.co.za/
Also on:    postgresql.org/message-id/54D20D6C.9050504@geograph.co.za

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: zoltans@geograph.co.za
  Subject: Re: dropping all databases and starting afresh
  In-Reply-To: <54D20D6C.9050504@geograph.co.za>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox