pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tilo Schwarz <mail@tilo-schwarz.de>
To: pgsql-hackers@postgresql.org
Subject: Re: initdb should create a warning message [was Re:
Date: Mon, 1 Dec 2003 18:56:46 +0100
Message-ID: <200312011856.46117.mail@tilo-schwarz.de> (raw)
In-Reply-To: <873cc4ecnb.fsf@stark.dyndns.tv>
References: <20031126043752.51857.qmail@web10804.mail.yahoo.com>
	<1070263797.7719.2662.camel@linda.lfix.co.uk>
	<873cc4ecnb.fsf@stark.dyndns.tv>

Greg Stark writes:
> Oliver Elphick <olly@lfix.co.uk> writes:
> > Then it needs to be stated very prominently.  But the place to put a
> > sign saying "Dangerous cliff edge" is beside the path that leads along
> > it.Greg Stark <gsstark@mit.edu>, p
>
> The only way to make this prominent would be a file with the *name* "THIS
> DIRECTORY CONTAINS CRITICAL DATA". Not a "README" with that message inside.

That's exacly what I did, after some "root" came along and moved my pgdata 
away while postmaster was running. The data was not that important in that 
case, but nevertheless I put a file with a name like

NEVER_MOVE_THIS_DIRECTORY_WHILE_POSTMASTER_PROCESS_IS_RUNNING.txt

in pgdata and wrote a few lines in that file, how to shutdown postmaster 
properly.

But renaming pgdata to something like that would be even better and could be 
done alrealy (if I'm right).

Regards,
	
	Tilo



view thread (10+ messages)

Message-ID: <200312011856.46117.mail@tilo-schwarz.de>
Permalink:  ../200312011856.46117.mail@tilo-schwarz.de/
Also on:    postgresql.org/message-id/200312011856.46117.mail@tilo-schwarz.de

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mail@tilo-schwarz.de, pgsql-hackers@postgresql.org
  Subject: Re: initdb should create a warning message [was Re:
  In-Reply-To: <200312011856.46117.mail@tilo-schwarz.de>
  References: <20031126043752.51857.qmail@web10804.mail.yahoo.com> <1070263797.7719.2662.camel@linda.lfix.co.uk> <873cc4ecnb.fsf@stark.dyndns.tv> <200312011856.46117.mail@tilo-schwarz.de>

* 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