pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Stephen Frost <sfrost@snowman.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Christoph Berg <myon@debian.org>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Craig Ringer <craig.ringer@2ndquadrant.com>
Cc: Jim Nasby <Jim.Nasby@bluetreble.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Cc: Andres Freund <andres@anarazel.de>
Subject: Re: Renaming of pg_xlog and pg_clog
Date: Thu, 20 Oct 2016 09:19:42 -0700
Message-ID: <46a6bc7c-42b9-0a63-22a9-c4a793193178@commandprompt.com> (raw)
In-Reply-To: <20161020161216.GU13284@tamriel.snowman.net>
References: <CAB7nPqRD0=nuZOgODOEcPsGxj9+C_RAUyNFF+4UdUesCbif2tg@mail.gmail.com>
	<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>
	<CA+TgmoYWdoPqDA5Gd4o_rLqbk3-yCRvg3=b7BfkjVwJ_zR+0Ow@mail.gmail.com>
	<4861.1476978513@sss.pgh.pa.us>
	<20161020161216.GU13284@tamriel.snowman.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 10/20/2016 09:12 AM, Stephen Frost wrote:
> * Tom Lane (tgl@sss.pgh.pa.us) wrote:
>> Robert Haas <robertmhaas@gmail.com> 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



view thread (139+ messages)  latest in thread

Message-ID: <46a6bc7c-42b9-0a63-22a9-c4a793193178@commandprompt.com>
Permalink:  ../46a6bc7c-42b9-0a63-22a9-c4a793193178@commandprompt.com/
Also on:    postgresql.org/message-id/46a6bc7c-42b9-0a63-22a9-c4a793193178@commandprompt.com

 · 

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-hackers@postgresql.org
  Cc: jd@commandprompt.com, sfrost@snowman.net, tgl@sss.pgh.pa.us, robertmhaas@gmail.com, myon@debian.org, bruce@momjian.us, peter.eisentraut@2ndquadrant.com, michael.paquier@gmail.com, thomas.munro@enterprisedb.com, craig.ringer@2ndquadrant.com, Jim.Nasby@bluetreble.com, andres@anarazel.de
  Subject: Re: Renaming of pg_xlog and pg_clog
  In-Reply-To: <46a6bc7c-42b9-0a63-22a9-c4a793193178@commandprompt.com>
  References: <CAB7nPqRD0=nuZOgODOEcPsGxj9+C_RAUyNFF+4UdUesCbif2tg@mail.gmail.com> <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> <CA+TgmoYWdoPqDA5Gd4o_rLqbk3-yCRvg3=b7BfkjVwJ_zR+0Ow@mail.gmail.com> <4861.1476978513@sss.pgh.pa.us> <20161020161216.GU13284@tamriel.snowman.net> <46a6bc7c-42b9-0a63-22a9-c4a793193178@commandprompt.com>

* 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