Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iDCwI-0002uI-9i for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Sep 2019 19:27:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iDCwG-0003BK-Mq for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Sep 2019 19:27:00 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iDCwG-0003At-Bx for pgsql-hackers@lists.postgresql.org; Wed, 25 Sep 2019 19:27:00 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iDCwE-00050N-6l for pgsql-hackers@postgresql.org; Wed, 25 Sep 2019 19:26:59 +0000 Received: by mail-wm1-x341.google.com with SMTP id m18so6237407wmc.1 for ; Wed, 25 Sep 2019 12:26:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=T4Vqhmx6lCPstu4FNt7tX5Yn4cJ+qUt/1TayE1rAG+Q=; b=uF5vzueOo+W3OdWcS90z0jHpJXe32qBSZ+t62VFcGs834DxBHYc04V6zhtkhCRkJrW Z52IIibz7cDErQYTFmAtn0APE1TGt24inYaPTPhwZRBZP1Y2fVz3Wi2VQOa/VGe4vTxC VwpUqL6N2neeN/Ujgg9GQr+aQvQG+sdVuTWY0hEwFtvfCRh1fqSYzdtefqvNoM/4T0lH qiR8wnc1Hx6p427pSbwHNUCx1FkFrDB7tFHOHoHSC77bt0dnaMXrE8DNEF73Mr3FUZjh fzu0RUINzrNV1RCPpCB9aof5ISeJw5vs/TtLpWysUVHTPcKjfh5znJfYACOvWWmMjub6 mB9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=T4Vqhmx6lCPstu4FNt7tX5Yn4cJ+qUt/1TayE1rAG+Q=; b=jXVzthFET9Hi7dROPXrIzBN1XfPd4q+B6QQ4NgwiyJx//2GL5U+dENwh7WufY2NUDM B/FGZbbN3GfllVHSVgTNii4YdJmMVSFmUbZi29Sex8s16WegrTVksFJRGWI/Lnm2MxEL BFmPjVEc8uVcFhv28+uE91GmnEifjW+nmGu16BllodD8KeOx2OAEas2YzOP49M4u46PU wfTG8027kUHWvfGNSDaM+4+DVCVu21jDfovcyAWXRmN6u42Es5T1cECyRfUriAt9JdYf KPH6wREEJsYosBYDJL75g3FKTKiztuhsOzeLgtWpFqam742F4LzaqGR/4VJBhjjXuMvm rVbw== X-Gm-Message-State: APjAAAWNes7ttQMB5M6d7l/GcCC/WurcMAdnXiWu1dOb/o6DLL1S1Jm9 vL516Wh5pTSnYWFbic+GzYXp+Q== X-Google-Smtp-Source: APXvYqzTnjU6lewI3iRb9v8zQ/t6A7yxv1g5t1YHcj8truSjtxMgHOnRKD+MBn/MzH9kmZqD8VU3DQ== X-Received: by 2002:a7b:cd99:: with SMTP id y25mr9211983wmj.152.1569439616859; Wed, 25 Sep 2019 12:26:56 -0700 (PDT) Received: from localhost.localdomain (mobiledyn-185-69-244-97.mrsn.at. [185.69.244.97]) by smtp.gmail.com with ESMTPSA id h63sm6521137wmf.15.2019.09.25.12.26.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2019 12:26:56 -0700 (PDT) Message-ID: <5d8f802d0cc1871ac4bd9450ba98ce8d0626bb58.camel@cybertec.at> Subject: Re: Two pg_rewind patches (auto generate recovery conf and ensure clean shutdown) From: Laurenz Albe To: Alvaro Herrera , Paul Guo Cc: Michael Paquier , Thomas Munro , pgsql-hackers , Jimmy Yih , Ashwin Agrawal , Alexey Kondratov Date: Wed, 25 Sep 2019 21:26:54 +0200 In-Reply-To: <20190925174812.GA4916@alvherre.pgsql> References: <20190925174812.GA4916@alvherre.pgsql> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.4 (3.32.4-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, 2019-09-25 at 14:48 -0300, Alvaro Herrera wrote: > Another thing in 0002 is that you're adding a "-R" switch to > pg_rewind, but we have another patch in the commitfest using the same > switch for a different purpose. Maybe you guys need to get to an > agreement over who uses the letter :-) Also, it would be super > helpful if you review Alexey's patch: > https://commitfest.postgresql.org/24/1849/ I believe that -R should be reserved for creating recovery.conf, similar to pg_basebackup. Everything else would be confusing. I've been missing pg_rewind -R! Yours, Laurenz Albe