Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aor8E-0002X5-E0 for pgsql-hackers@arkaria.postgresql.org; Sat, 09 Apr 2016 11:32:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aor8D-00047n-St for pgsql-hackers@arkaria.postgresql.org; Sat, 09 Apr 2016 11:32:49 +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 1aor8C-00046r-ER for pgsql-hackers@postgresql.org; Sat, 09 Apr 2016 11:32:48 +0000 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1aor88-0008TP-O4 for pgsql-hackers@postgresql.org; Sat, 09 Apr 2016 11:32:46 +0000 Received: by mail-wm0-x22d.google.com with SMTP id v188so40615050wme.1 for ; Sat, 09 Apr 2016 04:32:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=fOjvFy0PYyIwPO2NLe3KPYIuovcr4tGAj+rmD5aw2Y8=; b=M5cwbnlCTzxqF9hqKIjM2ynsk0RFpaGYUfLcR3KyxWoPe49dliL9TXHuv8tf9x9rXd pdNoX1jj7uLN5ex+4lPifbsk2rlazQe7fek2TNVy7S4ih2qcXfEXOQ0VUa5ryO7HelNN O2Gt4ztdlVfjg1HubxRR9WeQSgvAoteeM711shVYB33brfPcuv5bJsxZPynFG0B4BrjQ 8iN+xp99t6P2ZGWVPuoyAdw1K6cV3NbHnQ49xzYCpX0sbKJkiHbqZ5kywzxLnlB2DmtJ 9Y+woqc2lA7VJ7YsaQXbOFpTFSynT9BRK6olYjIKSsGrvDMed7YKOdPkg7oyEb3ajuXZ mSmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=fOjvFy0PYyIwPO2NLe3KPYIuovcr4tGAj+rmD5aw2Y8=; b=m5ZiIaL0sh1TWNXwTzb0N2gVTXF5OQ2CqEYAIxmr7tRoMhu4YGmsMp8N94Qh8LbaDR qQKJxqj4cYSUc6tfk2CoKc/5Hlojrikz3Km2J+vH9DjGfX17WwHLKfWufMoAO68w96cK zJVXpBGw6Fju1gy8wVEoUs/eHBTsiso9mgX0JHyQvuXLoYeIvRPmaE++gRqwXYkWe0ce ij3ihch2m6Pple22k/wmfxU5cQEPTt2N+Iu+iPwsjA30UP4vGJxVLU/EG0xlNPNPYMYB 9t9dVAd9+DcvvD/S2WmNLfmix8Ke/9bIgU8McwccD4D96PxiZ7QWU4v/ynIObU0LEZGN IP4A== X-Gm-Message-State: AD7BkJLBbUzSCVQMaBQ6PaF5ruIVWsivPBbXwqabmg95xwWWp1rU17TCsQvaVL39gSTXe+oU5+iMk4WjQ1p/HWLjNOa9QdxqgGNuEx61v0vaDZ9MPPoL3LhrgpY4Z08uiU8g+2LsMl1nbF0bzm9Zy8cUCmw4dwUBZMLPULtblKIZSqcOCXQaHo46kW6p1jJCWnZv8Ho6FF0K X-Received: by 10.28.21.75 with SMTP id 72mr8468333wmv.64.1460201562376; Sat, 09 Apr 2016 04:32:42 -0700 (PDT) Received: from [10.137.2.17] (ip-78-45-216-26.net.upcbroadband.cz. [78.45.216.26]) by smtp.gmail.com with ESMTPSA id u145sm7299685wmu.17.2016.04.09.04.32.40 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 09 Apr 2016 04:32:41 -0700 (PDT) Subject: Re: multivariate statistics v14 To: Tatsuo Ishii References: <56FA9CA9.4030401@pgmasters.net> <5d1d62a6-6228-188c-e079-c1be59942168@2ndquadrant.com> <20160409.082146.2151665005996934911.t-ishii@sraoss.co.jp> Cc: robertmhaas@gmail.com, david@pgmasters.net, tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, petr@2ndquadrant.com, jeff.janes@gmail.com, pgsql-hackers@postgresql.org From: Tomas Vondra Message-ID: <77be1e99-4f97-9a0c-64b7-472fa0ba4800@2ndquadrant.com> Date: Sat, 9 Apr 2016 13:32:39 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Thunderbird/46.0a2 MIME-Version: 1.0 In-Reply-To: <20160409.082146.2151665005996934911.t-ishii@sraoss.co.jp> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) 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 Hi, On 04/09/2016 01:21 AM, Tatsuo Ishii wrote: > From: Tomas Vondra ... > My feedback regarding docs were: >> - There's no docs for pg_mv_statistic (should be added to "49. System >> Catalogs") >> >> - The word "multivariate statistics" or something like that should >> appear in the index. >> >> - There are some explanation how to deal with multivariate statistics >> in "14.1 Using Explain" and "14.2 Statistics used by the Planner" >> section. > > The second and the third point maybe are something like "polishing > user-level" docs, but I don't think the first one is for "user-level". > Also I think without the first one the patch will be never > committable. If someone add a new system catalog, the doc should be > added to "System Catalogs" section, that's our standard, at least in > my understanding. I do apologize if it seemed that I don't value your review, and I do agree that those changes need to be done, although I still see them rather as a user-level docs (as opposed to READMEs/comments, which I think are used by developers much more often). But I still think it wouldn't move the patch any closer to committable state, because what it really needs is review whether the catalog definition makes sense, whether it should be more like pg_statistic, and so on. Only then it makes sense to describe the catalog structure in the SGML docs, I think. That's why I added some basic SGML docs for CREATE/DROP/ALTER STATISTICS, which I expect to be rather stable, and not the catalog and other low-level stuff (which is commented heavily in the code anyway). Had the patch been a Titanic, fixing the SGML docs a few days before the code freeze would be akin to washing the deck instead of looking for icebergs on April 15, 1912. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers