Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ljPji-00024U-Gy for pgsql-hackers@arkaria.postgresql.org; Wed, 19 May 2021 17:11:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ljPje-00077W-FB for pgsql-hackers@arkaria.postgresql.org; Wed, 19 May 2021 17:11:54 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ljPSF-0004Rn-GP for pgsql-hackers@lists.postgresql.org; Wed, 19 May 2021 16:53:55 +0000 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ljPSC-0000po-Uh for pgsql-hackers@lists.postgresql.org; Wed, 19 May 2021 16:53:54 +0000 Received: by mail-wr1-x42f.google.com with SMTP id x8so14746269wrq.9 for ; Wed, 19 May 2021 09:53:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=cybertec.at; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=jn2OBKOpqV9NZTEwAAWwPNb5qdVaGtu6fp/yaZOv2iA=; b=ZLh3Lyf2+RNZ30ygkC4jqry+rjPsQiW1+Ia15pCTPFk+OsF8x2YplnNzf7DwnvjfgW jZc+6MhrSnYzvtJSx5kGVSDfBFZCX+OUjk6vlGF/Bqi9tVAU84hhttIUBK/qhz9lgleA XWMx+9zvMbJjsywdXxiaswR9cVPW/tIEOihyw= 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=jn2OBKOpqV9NZTEwAAWwPNb5qdVaGtu6fp/yaZOv2iA=; b=WIhmO1nGeXwl55W8Ip2sB8D8O4EPrTgdeQQsqkl7O27TYdYAwm19kYofZPrr3vFDl2 oVE7jxgXfvy4MZvEDzDFtANgXD8i/3YNz6XyvfT/vUKqGRdUhRBWp0cjnkpnbzsiyn+6 P9rbEWxOWFte2a3pcZr9wBTmIwubX2xBYVr2PiABxT2icLnztCTb6Zo6vcJyhJY4q8LH t/L+Hz349SSoLFF31bFVSC7isbLXv/dICu4WUkarnnZIAgFuDm+1+1Q/16ZDH99FjZFR C46HzP3qTeV5Y7aZxqBILRxP+vgczLhVA474zOdyF7vLQ5kjDlccBPvGZ6K+uzPvHsCS DJ1Q== X-Gm-Message-State: AOAM531VebFClZ5ACvd4xC8dPXppSAmUFH6wUIWYs0Er0wDs0R41c0n3 BbwmGJjdc51RJzRn7pdEHBeyDw== X-Google-Smtp-Source: ABdhPJw89JtmJdK8t4BVdAl6rwCJAcDq1P+uqqy98T3wuuE+k6PRoaqlKm4uUR3J6TPZ4hwDojaa4A== X-Received: by 2002:a5d:524b:: with SMTP id k11mr1562650wrc.292.1621443230480; Wed, 19 May 2021 09:53:50 -0700 (PDT) Received: from localhost.localdomain (217-149-173-25.nat.highway.telekom.at. [217.149.173.25]) by smtp.gmail.com with ESMTPSA id z3sm6718344wrq.42.2021.05.19.09.53.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 May 2021 09:53:50 -0700 (PDT) Message-ID: <0dd498c38c94ab2090634f55fb034eed7a1fc57b.camel@cybertec.at> Subject: Re: Improve documentation for pg_upgrade, standbys and rsync From: Laurenz Albe To: Stephen Frost Cc: pgsql-docs@lists.postgresql.org, pgsql-hackers@lists.postgresql.org Date: Wed, 19 May 2021 18:53:49 +0200 In-Reply-To: <20210519143135.GI20766@tamriel.snowman.net> References: <22f129004bb66cd91e1dfd3345a9787f5039f3ae.camel@cybertec.at> <20210519143135.GI20766@tamriel.snowman.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-2.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, 2021-05-19 at 10:31 -0400, Stephen Frost wrote: > * Laurenz Albe (laurenz.albe@cybertec.at) wrote: > > I revently tried to upgrade a standby following the documentation, > > but I found it hard to understand, [...] > > Haven't had a chance to look at this in depth but improving things here > would be good. > > An additional thing that we should really be mentioning is to tell > people to go in and TRUNCATE all of their UNLOGGED tables before going > through this process, otherwise the rsync will end up spending a bunch > of time copying the files for UNLOGGED relations which you really don't > want. Thanks for the feedback and the suggestion. CCing -hackers so that I can add it to the commitfest. Yours, Laurenz Albe