Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eir4R-0005rr-RA for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Feb 2018 00:25:11 +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 1eir4Q-0003QB-Sc for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Feb 2018 00:25:10 +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 1eir4Q-0003Pk-ID for pgsql-hackers@lists.postgresql.org; Tue, 06 Feb 2018 00:25:10 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eir4N-0002di-VQ for pgsql-hackers@postgresql.org; Tue, 06 Feb 2018 00:25:09 +0000 Received: by mail-wm0-x241.google.com with SMTP id 143so499146wma.5 for ; Mon, 05 Feb 2018 16:25:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=89udKVybJDM81Rc5DK1vCdYi4yS2uffue9265uyj2hs=; b=lJ1ahSqBEWzga3X2YfuC0JiUnkYtSUnhzko4fV2KPTJmEO3Yj6OUGocqmVmZJEvUUK uMQL8wBvAcwCeEs7pMLMZfzEXVf/YjtLxZFT5Uj9Wug6YhVSXs0B8OkGCJwgs/NNL7VX +aMDbwLDaCXwiIy9MfO1trUArLkYpbhIZy0Md5QcrLUcm29iutP/4mVby7RCI9eTLmDD zDL55CCO6BqqOIqhBcQmqVAv+5zt4nE3Ba5Y10wbKhi+jbEaR6fUb38Hd1fq3et5cpRi hVNfcl/4cgPP6kdXEpqIj9Z0YA1JRlYyxTrkM3ht1ZJM2pR358gzMQsL00ZVAoo/jquT pV2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=89udKVybJDM81Rc5DK1vCdYi4yS2uffue9265uyj2hs=; b=MG2MFn6fOip3CulOSB3K9r5C6DVBObbrbY1jnfKSjuB/fWyMlLKq9ntWWqcQl99v6I 3D/jeKfUQZyTR6VrHqhrnm6c0GBZ8ZMHkqTBMJSJkhH1I8MCA4uG8g0xY9M1Q794Icaw 2QcfBxg0N0jx7cNrQ+h2n+7LXBZRmQcFWG0Cnd3aUDjvcQtUtZ46+fbga37wJL+GDBgt /y1awCwtCE4PLV/JkIJR+A6EnHZk/jYMkAnNpfZlsHF/xgu5FJ4SQaPXE0YMCwEyxKPv QxISoeqwOYhRuROQEOTlnwXQWOoP0PuiVctMIW6t3Fe1xZzrMHvwX9G35rFe2REIVWlb 3epw== X-Gm-Message-State: APf1xPDTZ7DoaxS7SFH3BN4aZ8a/84Nq5/4+W0xNQh39+2s4ass0Jd77 DNgfY8/YMspyBHkZcmJ3sOw5gK67wu51hbFZUk8vvSr+CqLCWmbBE4RrOvSgwXtbM+58W/kI557 fYAKy3qfK0jmjs5cAWAl+h9Hf6iv2dByfHUXXH9IqRGszz/qYc4anhNJArZo5+7LDdd2NAkJBgV h1bURnetzl X-Google-Smtp-Source: AH8x224wKeTZtnH6lG7A2LxuY7j13A9CmSEmFBfR30oAHWI5FPfuwfo5h5x1No10nUXYhU+EnTWl/w== X-Received: by 10.28.128.136 with SMTP id b130mr343160wmd.68.1517876704954; Mon, 05 Feb 2018 16:25:04 -0800 (PST) Received: from [10.137.2.19] (ip-78-102-97-226.net.upcbroadband.cz. [78.102.97.226]) by smtp.gmail.com with ESMTPSA id 81sm7840321wmi.26.2018.02.05.16.25.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Feb 2018 16:25:04 -0800 (PST) Subject: Re: WIP: BRIN multi-range indexes To: Tom Lane Cc: Mark Dilger , Alvaro Herrera , pgsql-hackers@postgreSQL.org References: <20180123200537.gfx5hxcp5k5hktpe@alvherre.pgsql> <821c4c1d-592e-8916-e323-04607b11777e@2ndquadrant.com> <104E8BB8-35FF-4AA8-9871-6AFF04E4CAF3@gmail.com> <0afde2fc-e160-004f-8fe2-c65302ac3760@2ndquadrant.com> <22674.1517874015@sss.pgh.pa.us> From: Tomas Vondra Message-ID: <3e924a4c-6ca0-cc10-aebb-5004fc002800@2ndquadrant.com> Date: Tue, 6 Feb 2018 01:25:00 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <22674.1517874015@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 02/06/2018 12:40 AM, Tom Lane wrote: > Tomas Vondra writes: >> Yeah, that's what I've been wondering about too. There's also this >> comment in nabstime.h: > >> /* >> * Although time_t generally is a long int on 64 bit systems, these two >> * types must be 4 bytes, because that's what pg_type.h assumes. They >> * should be yanked (long) before 2038 and be replaced by timestamp and >> * interval. >> */ > >> But then why adding BRIN opclasses at all? And if adding them, why not >> to test them? We all know how long deprecation takes, particularly for >> data types. > > There was some pretty recent chatter about removing these types; > IIRC Andres was annoyed about their lack of overflow checks. > > I would definitely vote against adding any BRIN support for these > types, or indeed doing any work on them at all other than removal. > Works for me. Ripping out the two opclasses from the patch is trivial. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services