X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id E8AB3D1B468 for ; Mon, 1 Dec 2003 17:51:10 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 47273-09 for ; Mon, 1 Dec 2003 13:50:40 -0400 (AST) Received: from natsmtp01.rzone.de (natsmtp01.rzone.de [81.169.145.166]) by svr1.postgresql.org (Postfix) with ESMTP id 8322CD1B486 for ; Mon, 1 Dec 2003 13:50:38 -0400 (AST) Received: from dell (p5091A03E.dip.t-dialin.net [80.145.160.62]) by post.webmailer.de (8.12.10/8.12.10) with ESMTP id hB1HobP5025432 for ; Mon, 1 Dec 2003 18:50:37 +0100 (MET) Content-Type: text/plain; charset="iso-8859-1" From: Tilo Schwarz To: pgsql-hackers@postgresql.org Subject: Re: initdb should create a warning message [was Re: Date: Mon, 1 Dec 2003 18:56:46 +0100 User-Agent: KMail/1.4.3 References: <20031126043752.51857.qmail@web10804.mail.yahoo.com> <1070263797.7719.2662.camel@linda.lfix.co.uk> <873cc4ecnb.fsf@stark.dyndns.tv> In-Reply-To: <873cc4ecnb.fsf@stark.dyndns.tv> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200312011856.46117.mail@tilo-schwarz.de> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/35 X-Sequence-Number: 47939 Greg Stark writes: > Oliver Elphick 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 , 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 insid= e. That's exacly what I did, after some "root" came along and moved my pgdata= =20 away while postmaster was running. The data was not that important in that= =20 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=20 properly. But renaming pgdata to something like that would be even better and could b= e=20 done alrealy (if I'm right). Regards, =09 Tilo