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.92) (envelope-from ) id 1j8wXB-0002if-3j for pgsql-bugs@arkaria.postgresql.org; Tue, 03 Mar 2020 01:39:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j8wX9-0006NR-OT for pgsql-bugs@arkaria.postgresql.org; Tue, 03 Mar 2020 01:39:43 +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 1j8wX9-0006NK-GZ for pgsql-bugs@lists.postgresql.org; Tue, 03 Mar 2020 01:39:43 +0000 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1j8wX6-0004OW-TI for pgsql-bugs@lists.postgresql.org; Tue, 03 Mar 2020 01:39:43 +0000 Received: by mail-qt1-x842.google.com with SMTP id t13so1673877qto.3 for ; Mon, 02 Mar 2020 17:39:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=SFOdAe50ZPgdkBmF/9b13yd2P4Ch0G2Khy82EJo8bcY=; b=hkCut1VmNumDQSXdg+1vQUnGaEy1N7ogFfXzXYQ2y6MmzI1kZH+sr1vUBaBopAiEQV tpjW1yvttaucMdTds4AmAcMZcrVuYbGRZO9JaKQY44K5qEc/iOT0ZG2zbiIGdEP/xl65 Yt2wjIpIIm1FOLCSrJOB1+Hc+ccothI5ueHSHiVSdJ1xV3+MdOCbKCAdYtIegs8mDKkV PvxeGJsomKVe0Ir51M4ytPiQCfz6lFOt3AEZMz5orvRyeGzaJJJMzpr8amGSOkTLlnI6 ar/RJfLljODcvD6TYgtbDxmlyBX1NBa4TMWHInhEu0YcMUN00d9DkBkqarYs8tpV4MQ7 l1DQ== 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:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=SFOdAe50ZPgdkBmF/9b13yd2P4Ch0G2Khy82EJo8bcY=; b=n7m/T6dlhaMhDZWwMQTsldA771Hz7jZDxDlMnpyIN8g4hI9r9BDFOwBosUdC3ubpIt izL+o/xqti2cM5OdfWcrCsRn3txvHpZiH6/34xAMN6qs3eHV4BnLOSBvIx8ayU/rA0+A HJ/9ORcNLTaNP4EWEG8VqFzvF2NT3mT07RHeZsXjZCXb7xfHtKMYqmyKHUh8tddBuZNu OV40w90QclAGdm7Mnx98PJFvyqfIm+nD98lz1Rq1LWBZ7ooPA8HuxsDZhflqtZOQ6OQL 0XdOT9Io/4iMf3KEGrXt2FmQYXMISr1yy3+QvA7dsJ4o5x/obhscfN77WVMavF/blOB6 WR5g== X-Gm-Message-State: ANhLgQ31pqqY/j6CzLRDq9WeVbw/DZ6vGBdjTVOtRVCx7NNF6Bd9rBhB eF2KvmlqJqmrAUz56km3ePhytg== X-Google-Smtp-Source: ADFU+vvGV2HckMCr8LvkApdLV2dPTRsjWlLEWmynjtfmIZO/0rhpU360TVG+HZuzlGk50WAnXraEeA== X-Received: by 2002:ac8:468f:: with SMTP id g15mr2182083qto.99.1583199578388; Mon, 02 Mar 2020 17:39:38 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([201.186.208.119]) by smtp.gmail.com with ESMTPSA id d137sm4966587qkc.99.2020.03.02.17.39.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2020 17:39:38 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 4E14630068E; Mon, 2 Mar 2020 22:39:36 -0300 (-03) Date: Mon, 2 Mar 2020 22:39:36 -0300 From: Alvaro Herrera To: vyegorov@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16285: bt_metap fails with value is out of range for type integer Message-ID: <20200303013936.GA27326@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <16285-df8fc1000ab3d5fc@postgresql.org> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Mar-02, PG Bug reporting form wrote: > I have an index, that is giving issues pageinspect-ing it: > > SELECT * FROM bt_metap('index')\gx > ERROR: value "2180413846" is out of range for type integer I understand it's gone now, but you could have used \errverbose to display the source function name that caused the error, followed by setting backtrace_functions to that function and repeated the query. That may have resulted in a more precise location of the problem. Thanks, -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services