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 1ez6y7-0002aR-Dt for pgsql-hackers@arkaria.postgresql.org; Thu, 22 Mar 2018 20:37:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ez6y5-000562-KE for pgsql-hackers@arkaria.postgresql.org; Thu, 22 Mar 2018 20:37: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.89) (envelope-from ) id 1ez6y5-00055s-9c for pgsql-hackers@lists.postgresql.org; Thu, 22 Mar 2018 20:37:49 +0000 Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ez6y2-0006FP-Qh for pgsql-hackers@postgresql.org; Thu, 22 Mar 2018 20:37:48 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 00FDC1475; Thu, 22 Mar 2018 16:37:46 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Thu, 22 Mar 2018 16:37:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=QncRAhNaX/G3S9q5H 21hPw2eNGvFMd0iUCn6QxFl8sQ=; b=Ibu0EBAZ5wyD/5tFZk0ZTx7eVYO22TBgv vAakbuEYUSreUF2Q5ec9ZdyD2RfuTczI9Y4vrPE/uflxiEzHi9j43M9icdAPK0L+ ouO+Od1zI4w7yesVaRy2JyEKM58cWPZmVoUTffMGhscIpfQ02J40a+gzzJuds/Uk iCnSoWMyQ0rxgPGPWe64xVXH/bMwVBK3tWAckiHRmHHUIxJw6l35l9R3ssJ3VYJx YWmp5uGBWfc1I5g1szRtsyn4Ub5xbHORfCapnyQ1U0aG8ZPQKkKuw0q8KA0nbBfk vW7vQGdki/VkYd6VjM+y6NsvzDu3YON4qOgDNkTNqEou0L4y3CiAw== X-ME-Sender: Received: from alvin.alvh.no-ip.org (unknown [179.56.29.253]) by mail.messagingengine.com (Postfix) with ESMTPA id 635F3240F8; Thu, 22 Mar 2018 16:37:45 -0400 (EDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id C1EE27BF; Thu, 22 Mar 2018 17:37:43 -0300 (-03) Date: Thu, 22 Mar 2018 17:37:43 -0300 From: Alvaro Herrera To: Konstantin Knizhnik Cc: Stephen Frost , Michael Paquier , Simon Riggs , Christoph Berg , Thomas Munro , Peter Eisentraut , PostgreSQL Hackers Subject: Re: [HACKERS] Surjective functional indexes Message-ID: <20180322203743.reucnyd7pelkkxom@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <40fd1ef1-6227-69d1-9a24-edfef875e006@postgrespro.ru> User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.0) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk The rd_projidx (list of each nth element in the index list that is a projection index) thing looks odd. Wouldn't it make more sense to have a list of index OIDs that are projection indexes? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services