Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gMeVC-0004we-J1 for pgsql-general@arkaria.postgresql.org; Tue, 13 Nov 2018 19:37:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gMeVA-0007Sc-Ux for pgsql-general@arkaria.postgresql.org; Tue, 13 Nov 2018 19:37:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gMeVA-0007SU-Hm for pgsql-general@lists.postgresql.org; Tue, 13 Nov 2018 19:37:32 +0000 Received: from mail-qk1-x734.google.com ([2607:f8b0:4864:20::734]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gMeV7-00057T-BA for pgsql-general@lists.postgresql.org; Tue, 13 Nov 2018 19:37:32 +0000 Received: by mail-qk1-x734.google.com with SMTP id y16so21604919qki.7 for ; Tue, 13 Nov 2018 11:37:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=uX1ua8yw5QtCECXD1r35X6ia/TnNdwDGDgOW+GoYSnU=; b=GJI9ZWRVRVj9UAP7Uzi5DzNb7yi8sJSUjbipnsNnVU4LaEy+VKDvTqH/pwwNX4maXT cqVk17RTTM+vijkFzmUhFbq74/XakA0D/YcS/NosH4nUzma9wDLnWNPURWy/i9X0FtMK 80qqXYbqfRXJVaadFdcXVw5y/MvkAo36SeaTzGhIO+wWmzUpVZLM4gADh8t41cd6vEcf K2iGRpaBx0uOGotWX4XrJM8TYEtNOoKpMvWYWmBU+Ua6dkRKa7+l2O6Rg6s8VV3ot2yO H+3No/GnwrqPGlJbemePTfZphOyLnIuJpgSc1aS9qDQzF3n5VADuUWye/VZCmhSbhoks Ciiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=uX1ua8yw5QtCECXD1r35X6ia/TnNdwDGDgOW+GoYSnU=; b=k+MPFZfaj3Ux6YnmIEYp32/nnQ4qGtKbGAHsHZu86yHCXqWPBFX+igA5v1h3wUu5xq QVwnlcI/5S1lGCNb4sS9VuKdDmzs3xRAqy3ei5NkAkEqPQtSYPXm6mk26BeZWxywM+c4 Nbc/JAKQxPwplViL9tNEg4CEhXh3XFyzqhxUab7LWKpk+v9kM1sTj0x8InT/ZzSeE9PF 7soIEyOfqVKz7Dz8hNQkre6Shmq24bjSy0eqMMdZTUY8ScQBLiJJOd1LC0cdmx6RE0iw eFikjG8yP45Xs91JMdWmuUahnftGQ5yGNCC+v+v+8NVoFxqugl26QkKYL16+Vc203NHR htbg== X-Gm-Message-State: AGRZ1gJe8RiqtSQ3V93CI5WamTrNKS7pgm9mUTYKJmfSHAmw46apxmrv tpkv40e5haGA4tmlAGTLae7n0zoIss2BauUIMFWm+Y2YMHIdpWElSQq/DQo5qVRS9LpkA5ian/Y NqBniI12L21wZj+ZbeAfGwNPHlGhwZyV2BWtyQWAZQq8dQJFaKYBXcXlVC+mdVyxos6cEdbsFhf +JlMUx5Pdor9BKjw== X-Google-Smtp-Source: AJdET5fCQG0iBjX5xtyHrwtaP9zasRdVnyueZ2QNI9Z+LOk9Hqjy0TsAtnppPh44HwggBpTC+fzBoQ== X-Received: by 2002:a37:1956:: with SMTP id k83mr5946191qkh.344.1542137846326; Tue, 13 Nov 2018 11:37:26 -0800 (PST) Received: from alvin.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id 49sm5991302qtz.55.2018.11.13.11.37.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Nov 2018 11:37:25 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id CAE0055D; Tue, 13 Nov 2018 16:37:23 -0300 (-03) Date: Tue, 13 Nov 2018 16:37:23 -0300 From: Alvaro Herrera To: =?utf-8?B?0J7Qu9C10LMg0KHQsNC80L7QudC70L7Qsg==?= Cc: "pgsql-generallists.postgresql.org" Subject: Re: WTF with hash index? Message-ID: <20181113193723.kgki3ja6xpebo24l@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6714A96C-349B-4096-B929-FB28F215D6BB@ya.ru> User-Agent: NeoMutt/20180716 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-Nov-13, Олег Самойлов wrote: > Very much better. What about to copy paste algorithm from > gin(jsonb_path_ops) to the hash index? You're welcome to submit patches. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services