Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1malf2-0007xn-5p for pgsql-general@arkaria.postgresql.org; Wed, 13 Oct 2021 21:19:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1malf1-00023i-4Z for pgsql-general@arkaria.postgresql.org; Wed, 13 Oct 2021 21:19:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1malf0-0001wj-G5 for pgsql-general@lists.postgresql.org; Wed, 13 Oct 2021 21:19:38 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1malex-0003dJ-2w for pgsql-general@postgresql.org; Wed, 13 Oct 2021 21:19:37 +0000 Received: by mail-wr1-x42a.google.com with SMTP id o20so12776918wro.3 for ; Wed, 13 Oct 2021 14:19:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=KNbPWA+3LEYGRxqhkv4UwbEZCuCBRUcojWxcKlRsav0=; b=FBVPtthqM+3BDK3Zpv+O5ydn3l9Cu08dazpOdSam9F7XEDm7FnnJkdtyX9R6CxLdLZ D6R6eq3oa7TNdd3AZpPM3oAvP2dhxWMw3ttg8v3BqLePn6sS4XUZvaizxKPc8NeSzQ14 EiNENCNrm1cqo4GBkbE30clKsf78R7xEwEi4YguPLUReDm4wakzPtr9v7+MOUcezvRks avCv+lrSqQIARR4nHTKTXbUm4KmXjkJwleNPuvvJPzC/676NZsr2Uq6+pZGAHJDboTgG kUGlbxhykrfj5UN/reOTsCCYi3AAkpL4tmYuBx6VEXr388p3HkvkGND9iIe8iJhPXJ7A XSrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=KNbPWA+3LEYGRxqhkv4UwbEZCuCBRUcojWxcKlRsav0=; b=fKsEIschgINrkCLLrloz95MNsE/E9AB7z+NL5aeWn7bDczKkgk3fu/c3iSpR10ifJ1 /RzA+ibzYCeZw+qTxG0WVpXT+lZd/zPTEBX9f08ZvK+JW1NGaSOae8o6dWycy/VDCcaV IzZu1+PEix5tFliYTGSc2kgE8vvuVSiJxuFB0XUqo43pPJ/BAlv5eHTOfv3V98d6BHE5 Idkr8ehL04rjfD4+HT4wnAULEp4MBKofGTpfW6AcgwYIG36QpBtXQLopCRXGJja/zQcT wm0hkpHbMhI0NZDUH71Qfw6jORjGSLqGldBMMTgtsvIJ+0941RdnWdK883MhEM2ToEd5 q9sA== X-Gm-Message-State: AOAM530RX0Hj0ZfM2ppHKF6kA9zvnPsvZRhuh1AqjHq5dxA47jixsyRN iU2/Uutc3tOpPh9ESOxbD51VL7/h2CX1iZuH9KhG3uJYTqt+Gf2R1YWeLY6+gM870/ym/YOiSWq NBWECzEoHcjB+r9sivWEouXvwRhaiqYfcqKqzJXsLN7sVRrcgMBAbrRMX67Nk6srU9ZBCqDYNYp HNvcrcKERvc/0/2e4QTMCqT+IPQcMhsI2lnG7z X-Google-Smtp-Source: ABdhPJyVadAdMKjVpRa21ywVUGr10ZJG6S/zPaIc8LqWs1NKNyMHcqYlsEQG1WlvFFoGWbAnkJBKuQ== X-Received: by 2002:adf:a209:: with SMTP id p9mr1878807wra.70.1634159972778; Wed, 13 Oct 2021 14:19:32 -0700 (PDT) Received: from [10.137.0.18] (ip-86-49-251-104.net.upcbroadband.cz. [86.49.251.104]) by smtp.gmail.com with ESMTPSA id c204sm6303392wme.11.2021.10.13.14.19.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Oct 2021 14:19:32 -0700 (PDT) Message-ID: <9113308f-0304-8568-2d1d-cde7c696acd6@enterprisedb.com> Date: Wed, 13 Oct 2021 23:19:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 Subject: Re: GIN index Content-Language: en-US To: "huangning290@yahoo.com" , "pgsql-general@postgresql.org" References: <1301689812.1073475.1633939253216.ref@mail.yahoo.com> <1301689812.1073475.1633939253216@mail.yahoo.com> From: Tomas Vondra In-Reply-To: <1301689812.1073475.1633939253216@mail.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, Why exactly are you starting a new thread again, instead of continuing in the thread you started a couple days ago? A couple recommendations: 1) I find it unlikely you'll get a lot of help unless you provide a way to reproduce the issue easily. That is, something people can build and test on their own. Posting incomplete chunks of code means we'd have to spend time filling in the gaps, etc. Sorry, not going to happen. Create an extension that we can build/install easily, include a SQL script reproducing the issue. 2) The code is incomplete, e.g. hex2char/char2hex are missing. And the calls seems to be the other way around. I'd expect geomgrid_in to transform hex string to binary, but it calls Char2Hex. 3) AFIAK there's nothing like CREATE FUNCTION ... NOT FENCED ..., so it seems you're using some sort of fork. In that case you should probably ask them. 4) Don't post backtraces as screenshots. Copy them as text, attach them as a text file. 5) Continue in the thread you already started, otherwise it's impossible to follow the discussion. regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company