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 1nKjkt-0005sQ-KX for pgsql-bugs@arkaria.postgresql.org; Thu, 17 Feb 2022 16:35:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nKjkM-0002Dh-J0 for pgsql-bugs@arkaria.postgresql.org; Thu, 17 Feb 2022 16:35:10 +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 1nKjkL-0002DY-VT for pgsql-bugs@lists.postgresql.org; Thu, 17 Feb 2022 16:35:10 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nKjkG-0004eL-NC for pgsql-bugs@lists.postgresql.org; Thu, 17 Feb 2022 16:35:09 +0000 Received: by mail-wr1-x433.google.com with SMTP id f3so9877459wrh.7 for ; Thu, 17 Feb 2022 08:35:04 -0800 (PST) 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 :from:to:cc:references:in-reply-to:content-transfer-encoding; bh=aiuxZRm5CBUuigpXIRJG2fisNoFFqQAJhPGdNEfshew=; b=HyLISSnoQJrhUhv1dQKaalLoCMHMYkjfppTsRWxLsLRLKtj3bJS9mhJIuowBveU0/a EQpBulIIqqFWhrc5Gv7GHj5dXyNvrCTkWSohkTJQTXRFPL9XNcyr0AWH7j5QGFQQlMKl JASFvyDhMKznNKRU+LeOFML7cNwQG6+B5xy7+NRyp65n8zp6Nwj/NCXPEUHN4F9Mlld/ d2fCe8+RDOpH2AyE6wYSkdhJvAwIgaReBZv9G2a6upFCphvb/J0G1kju63gezzOyITZ5 yFibzUn26mBsGwLBSPUkEvzbFQ0kfHVHhulD0XQebovnimDVwmglgrh/CWEMy+ORZbgO a+ew== 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:from:to:cc:references:in-reply-to :content-transfer-encoding; bh=aiuxZRm5CBUuigpXIRJG2fisNoFFqQAJhPGdNEfshew=; b=ozvBo3lHDxyH4BgYKL0Mn/ANxSOqG5OI7JlUjFBnVWjxWV/2Nsa6dCABJVtQ6IaOkZ rU1Ku4vT09QldnT7TMHEBRT0bqOyJj19NUdX8CYez18Nyi3vhP+ay870VyHAMfW9WnPN d85Tjg4M+odM5mT9mbre+Z5f94odKygtnTjwrRmVuwDqO/Tk7ya5HPR8vMgMampkZA+I P3hJqjSExsVHY+2GbUjdLwkEqupdFGJcY7OX/Ldcv+tk3GmolA8JW45yeAnRrTNA7+pS YUNwzxpc/wg6LTS3PqhV6ElL8LaHlnTjRvw6gAPcFgkAhlHjGqE/jN0T5j1eLnxorPix AVgg== X-Gm-Message-State: AOAM532LZIWTPrrv+HE3UFfyid0L+8B9OR6EnCHFyo3OG6SQIOqNUWzG U673m/NcKWrvI4rhnizXs1Pqs2u5tQw6KdH0n9TlEIGhhFrJcPOGvPFCo3vreWRMFV574nzhnwO R/AnyMU/B/u3U+L9tbKt1F46Yq2U1a+uu3SHrOpW+yL7wQAsqfQirkBiwWoFcRJRrpYJDrXmlAh kPncKX3H1JATZCqPv0y1xuJyau25HujXNysosmXjxap7Re X-Google-Smtp-Source: ABdhPJzoXUh1l4tV5zCWJP5L8T54PNmL35G2Q5rO9Yt8g0dWBySPdw9PJwV54mpx+gt1AwT6IHyyYA== X-Received: by 2002:adf:ce88:0:b0:1e3:1340:52f1 with SMTP id r8-20020adfce88000000b001e3134052f1mr2775668wrn.489.1645115703261; Thu, 17 Feb 2022 08:35:03 -0800 (PST) Received: from [10.137.0.18] (static-84-42-175-93.net.upcbroadband.cz. [84.42.175.93]) by smtp.gmail.com with ESMTPSA id d13sm19179261wri.38.2022.02.17.08.35.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Feb 2022 08:35:02 -0800 (PST) Message-ID: <4eac5413-4267-d8e2-4d94-205d5256c498@enterprisedb.com> Date: Thu, 17 Feb 2022 17:35:00 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: BUG #17406: Segmentation fault on GiST index after 14.2 upgrade Content-Language: en-US From: Tomas Vondra To: Victor Yegorov Cc: PostgreSQL mailing lists References: <17406-71e02820ae79bb40@postgresql.org> <788a0a51-b1e3-3601-5783-3f6488796ec4@enterprisedb.com> In-Reply-To: <788a0a51-b1e3-3601-5783-3f6488796ec4@enterprisedb.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 On 2/17/22 01:16, Tomas Vondra wrote: > ... > >>     How large is the table/index? Are you able to run the query with a >>     custom build (without values optimized out)? Any chance you still >>     have a >>     backup from before the pg_upgrade, on which you might run the query? >> >> >> Yes, this is a test DB restored from backup in order to test out 14 >> upgrade, production is still running on 12.9. >> v3_region is 2832 kB >> region_ltree_path_idx_gist is 472 kB >> > > That means it should be possible to reproduce the issue elsewhere by > copying the files (and schema). Is there any sensitive data that'd > prevent handing over this data? > Maybe we could also try just dumping the data (the ltree_path column), so that we can load it into 12 cluster and do a binary upgrade. That would be simpler than trying to copy the existing data files. regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company