Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRxcE-0005JY-VT for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Dec 2017 09:58:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRxcE-0004bw-IQ for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Dec 2017 09:58:14 +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 1eRxcE-0004bm-8l for pgsql-hackers@lists.postgresql.org; Thu, 21 Dec 2017 09:58:14 +0000 Received: from mail-wm0-f65.google.com ([74.125.82.65]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eRxcB-00023G-8H for pgsql-hackers@postgresql.org; Thu, 21 Dec 2017 09:58:13 +0000 Received: by mail-wm0-f65.google.com with SMTP id f206so14601201wmf.5 for ; Thu, 21 Dec 2017 01:58:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:subject:to:cc:references:from :organization:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=xEEKESIG1mKxPFPkUHh1MvIJhfKKnK3K7vSKSS1TIm8=; b=lduM8s6+VlUD4ing1bxy7o4x18+BvzM1UE/b84N1CL0tUiEfP0BTavtHwfOpPRrBAB ePvBrYEnlMI0RAau1zEHLI+89wU+UGYw7BlrAODPSNhgHNHNz/ymZbkiexHYM+degpG7 MhXZhldelU5E0dyQNiNP+icLvdc8ZG5rI/snDG+LCjmqHjKifoAOY7GlAGUf7XOFEEWI TeEaDVhTnMzUf4s0uxni/HT0DAhVOcigYsL2EMm2mVqqKBlSIc4yrZ0micC5qSmIFerl qAHjRqXOTteMDmH/Rrav/8ZPOEOcoBKRepUbZGCCF1WamTeeP0h0bf0GP02sGerRTnMz /Ajw== X-Gm-Message-State: AKGB3mJMS0cDHIM9DpmfBxHmS7ch9os0HFb0g6CiS0mGavURchjOobYz 8DnqHFn57AyqXEL82fxe6yBQ5I62WIc= X-Google-Smtp-Source: ACJfBotm1fc//QfbW7pPAL+Urgbc9LM+18NRSlGtw2Idhl3dJqtD7MoZZtLN7asnDmR9dt+s/TIvpA== X-Received: by 10.80.145.154 with SMTP id g26mr9535417eda.140.1513850288990; Thu, 21 Dec 2017 01:58:08 -0800 (PST) Received: from localhost.localdomain (5634d9c8.rev.stofanet.dk. [86.52.217.200]) by smtp.gmail.com with ESMTPSA id y5sm15762026edj.5.2017.12.21.01.58.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Dec 2017 01:58:08 -0800 (PST) Reply-To: jesper.pedersen@redhat.com Subject: Re: [HACKERS] Proposal: Local indexes for partitioned table To: Alvaro Herrera Cc: Robert Haas , David Rowley , Simon Riggs , Pg Hackers , Maksim Milyutin References: <20171220212503.aamhlrs425flg47f@alvherre.pgsql> From: Jesper Pedersen Organization: Red Hat Message-ID: <242e9c8d-113e-22e5-05bf-550eb0801f7b@redhat.com> Date: Thu, 21 Dec 2017 04:58:06 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20171220212503.aamhlrs425flg47f@alvherre.pgsql> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi Alvaro, On 12/20/2017 04:25 PM, Alvaro Herrera wrote: > I modified the regression test so that a partitioning hierarchy would be > left behind after the test is run, which is useful to test pg_upgrade > and pg_dump -- this caught one small bug. That and some reading of the > diff resulted in v8, attach. > > On my system, make check-world passes. However, Thomas Munro's > automated patch tester seems to have a problem with the pg_upgrade test, > though I don't know what it is. > Passes check-world here too w/ TAP + cassert. index.c: + values[Anum_pg_index_indparentidx - 1 ] = ObjectIdGetDatum(parentIndexOid); Extra space. tab-complete.c: Contains references to DETACH. create_index.sgml: I think the new paragraph should mention the naming convention of the generated indexes, as they may differ from the index name on the partition table. reindex.sgml: Missing a note about REINDEX not being supported on the partition index. Best regards, Jesper