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 1nYp46-0003S3-6X for pgsql-hackers@arkaria.postgresql.org; Mon, 28 Mar 2022 13:05:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nYp45-00061R-1V for pgsql-hackers@arkaria.postgresql.org; Mon, 28 Mar 2022 13:05:45 +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 1nYp44-00061H-EU for pgsql-hackers@lists.postgresql.org; Mon, 28 Mar 2022 13:05:44 +0000 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nYp41-0001eD-JI for pgsql-hackers@postgresql.org; Mon, 28 Mar 2022 13:05:43 +0000 Received: by mail-wr1-x435.google.com with SMTP id h23so20293163wrb.8 for ; Mon, 28 Mar 2022 06:05:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=PI8UlTrtRMuYnQ5u9FzfOADzTHWFRQvLgGZHCzfVFAA=; b=Njwb2OfF0flBC9yvuqy8uiJJCE1c9gE2WhbunvzBppeZYuMVhrnWZ3hgtChV6ztDr7 0QfqBb6TrYC8jiPwWFW5+beY2FPDHkqy4tX65qz3IXXM2++9NKS04J1NyBtjJOaqyCpN eFZADO3kUeYQ8X6cU4edZREhi9n5WniNmwsnUDb2VjcdgDyQvediLP9Qbuiy+FTyzX/z mpQ/Pcz0w8MZ7AhoOn/XAZX3hKU/TyIBFh2gEZiUDeyryFkMrNDTtdkFLF7hQWfrhjqA oinTmlTW26XcVYUH4Gy4s/xgqMyD+w7CvpMJqL0hJ5oq38igZ3rZlhH5P+qBgRstwwM9 T2vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=PI8UlTrtRMuYnQ5u9FzfOADzTHWFRQvLgGZHCzfVFAA=; b=pQEGs4hfwVapgRNFdFAD8pwnzqQmkLadb+ppmC7Yv6LrsO/NAPR2TgYniCv9UGaBx1 xWk3l6Tbn6w15FnwwJ7LcdzALh8Fdc8iZFnObLKBkOrFkhjNvomKErUuMzDa2PB6sdaE HnUWD1dw96uHxEBC5l483kvmnkc89etDo8rV0F2v/3XzhIOpZOvjgjfa0OIn6J3O85Xv CxgtB5NrPBNcr7SmGmSPiRY8XzYqz0z4PIaWpQ9OplM543XtotTtB0bA1sjoXgs/Ob// 1lL+ZkUy11IdRszR316fAWpDX34Nksj1dcAeiuRvxUEfvcNZ5X1wnVqu0zeZhr7DlwwF cW7Q== X-Gm-Message-State: AOAM532hu2OPzmi8gzYeG0GcG05WMDZKozP7RXTiopgmb+/Izb0u6pCJ BHCU0Nty959YD544g3RGDvngBMJJXCnWFOC7extqsKDQKnWCdS0xZNo1yjTxCGUGpuqOAq0wRHr OchrhBjt17qimSzJnTVCcoosPMTF8Yqo/Gv6W7mAu+DaBao900UKS9FrJcNpyUFDQni+vDkG4Cu 5ZRORFt26wsktlfJ+fGXEEL/LZdPAzSiHXegA1 X-Google-Smtp-Source: ABdhPJx+rfP9GSpuiVEsuXzMpU+XOgUHrvpogSJxNOe1HproHIJx3tGeRPfY2xQPuxdSFvXhQgPXwA== X-Received: by 2002:a05:6000:3cb:b0:205:7b9d:cade with SMTP id b11-20020a05600003cb00b002057b9dcademr23355701wrg.239.1648472730075; Mon, 28 Mar 2022 06:05:30 -0700 (PDT) Received: from [10.137.0.17] (static-84-42-175-93.net.upcbroadband.cz. [84.42.175.93]) by smtp.gmail.com with ESMTPSA id n22-20020a05600c4f9600b0038c6ec42c38sm11481291wmq.6.2022.03.28.06.05.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Mar 2022 06:05:29 -0700 (PDT) Message-ID: <88903179-5ce2-3d4d-af43-7830372bdcb6@enterprisedb.com> Date: Mon, 28 Mar 2022 15:05:26 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: document the need to analyze partitioned tables Content-Language: en-US To: Justin Pryzby , Robert Haas Cc: =?UTF-8?Q?=c3=81lvaro_Herrera?= , yuzuko , pgsql-hackers@postgresql.org References: <20210913035409.GA10647@telsasoft.com> <20211008125822.GJ27491@telsasoft.com> <681e76ad-3a7b-ea3c-b6b0-55946239c49b@enterprisedb.com> <20220121180200.GM23027@telsasoft.com> <19c248d9-3687-9e0f-0b1a-2adad1de6fbe@enterprisedb.com> <20220315230011.GZ28503@telsasoft.com> From: Tomas Vondra In-Reply-To: <20220315230011.GZ28503@telsasoft.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 3/16/22 00:00, Justin Pryzby wrote: > On Mon, Mar 14, 2022 at 05:23:54PM -0400, Robert Haas wrote: >> On Fri, Jan 21, 2022 at 1:31 PM Tomas Vondra wrote: >>> [ new patch ] >> >> This patch is originally by Justin. The latest version is by Tomas. I >> think the next step is for Justin to say whether he's OK with the >> latest version that Tomas posted. If he is, then I suggest that he >> also mark it Ready for Committer, and that Tomas commit it. If he's >> not, he should say what he wants changed and either post a new version >> himself or wait for Tomas to do that. > > Yes, I think it can be Ready. Done. > > I amended some of Tomas' changes (see 0003, attached as txt). > > @cfbot: the *.patch file is for your consumption, and the others are only there > to show my changes. > >> I think the fact that is classified as a "Bug Fix" in the CommitFest >> application is not particularly good. I would prefer to see it >> classified under "Documentation". I'm prepared to concede that >> documentation can have bugs as a general matter, but nobody's data is >> getting eaten because the documentation wasn't updated. In fact, this >> is the fourth patch from the "bug fix" section I've studied this >> afternoon, and, well, none of them have been back-patchable code >> defects. > > In fact, I consider this to be back-patchable back to v10. IMO it's an > omission that this isn't documented. Not all bugs cause data to be eaten. If > someone reads the existing documentation, they might conclude that their > partitioned tables don't need to be analyzed, and they would've been better > served by not reading the docs. > I've pushed the last version, and backpatched it to 10 (not sure I'd call it a bugfix, but I certainly agree with Justin it's worth mentioning in the docs, even on older branches). regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company