Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxG5j-0007ka-7d for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Oct 2016 16:21:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bxG5i-0003iQ-9D for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Oct 2016 16:21:14 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bxG4K-000221-FK for pgsql-hackers@postgresql.org; Thu, 20 Oct 2016 16:19:48 +0000 Received: from lists.commandprompt.com ([69.168.55.30]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bxG4H-0001O9-3q for pgsql-hackers@postgresql.org; Thu, 20 Oct 2016 16:19:46 +0000 Received: from [192.168.1.61] (spinlock.commandprompt.com [69.168.55.30]) by lists.commandprompt.com (Postfix) with ESMTPA id E501C2E7; Thu, 20 Oct 2016 09:19:42 -0700 (PDT) Received: from c-73-225-27-179.hsd1.wa.comcast.net ([73.225.27.179] helo=[192.168.1.61]) by assp.commandprompt.com with SMTPSA(TLSv1_2 ECDHE-RSA-AES128-GCM-SHA256) (2.5.1); 20 Oct 2016 09:19:42 -0700 Subject: Re: Renaming of pg_xlog and pg_clog To: Stephen Frost , Tom Lane References: <78d8090c-84c3-3eb6-0b6a-5a4db90d6fbb@2ndqu!adrant.com> <15297.1476285726@sss.pgh.pa.us> <071f8400-b966-1a0b-9066-e5bb789189d7@2ndquadrant.com> <20161014113523.GZ13284@tamriel.snowman.net> <20161014171902.nb3hyg6koemwbzhb@msg.df7cb.de> <20161018220909.GA11661@momjian.us> <20161019110528.d5w7t6qnmpsosmjg@msg.df7cb.de> <4861.1476978513@sss.pgh.pa.us> <20161020161216.GU13284@tamriel.snowman.net> Cc: Robert Haas , Christoph Berg , Bruce Momjian , Peter Eisentraut , Michael Paquier , Thomas Munro , Craig Ringer , Jim Nasby , PostgreSQL Hackers , Andres Freund From: "Joshua D. Drake" Organization: Command Prompt, Inc. Message-ID: <46a6bc7c-42b9-0a63-22a9-c4a793193178@commandprompt.com> Date: Thu, 20 Oct 2016 09:19:42 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20161020161216.GU13284@tamriel.snowman.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Assp-Version: 2.5.1(16177) on assp.commandprompt.com X-Assp-ID: assp.commandprompt.com m1-80382-08045 X-Assp-Session: 7FC0787001B0 (mail 1) X-Assp-Original-Subject: Re: [HACKERS] Renaming of pg_xlog and pg_clog X-Assp-Client-SSL: yes X-Pg-Spam-Score: -2.2 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 10/20/2016 09:12 AM, Stephen Frost wrote: > * Tom Lane (tgl@sss.pgh.pa.us) wrote: >> Robert Haas writes: > That said, I'd also like to see a --force or similar option or mechanism > put in place to reduce the risk of users trashing their system because > they think pg_resetwal is "safe." ("It's just gonna reset things to make > the database start again, should be fine."). > > pg_destroydb almost seems like a better choice, though I suppose > 'pg_clearwal' would be more acceptable. Doesn't have quite the same > impact though. pg_dropwal Users won't *drop* things they shouldn't on purpose (usually) but they will reset and will clear them. Destroydb isn't anymore accurate because it doesn't destroy it. Instead it makes it so I can log in again and see my data. (Yes we all know the real implications with it but from a DUH user perspective...) Sincerely, JD -- Command Prompt, Inc. http://the.postgres.company/ +1-503-667-4564 PostgreSQL Centered full stack support, consulting and development. Everyone appreciates your honesty, until you are honest with them. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers