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 1jC9Mu-0006TF-8b for pgsql-general@arkaria.postgresql.org; Wed, 11 Mar 2020 21:58:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jC9Mt-0005v8-5J for pgsql-general@arkaria.postgresql.org; Wed, 11 Mar 2020 21:58:23 +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 1jC9Ms-0005v1-MY for pgsql-general@lists.postgresql.org; Wed, 11 Mar 2020 21:58:22 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jC9Ml-0007pQ-NP for pgsql-general@lists.postgresql.org; Wed, 11 Mar 2020 21:58:22 +0000 Received: by mail-wm1-x344.google.com with SMTP id a5so3868097wmb.0 for ; Wed, 11 Mar 2020 14:58:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=WFbvXQ2APRJFufg4w0l+1dyrkXUOfl75/zJtuLTFHKY=; b=Xs0+wfd1+Ki1Cb2K5UBWWv1fcc7Wd/wVy2Bsm7EOMuhSCDOo9R38nRmqZROGSgiSwQ fSq9XXul8U8x1ZZBp1kQIHM9Kanmcov2n4VqfeSmMK9Jok5yEgtsFVuDXPBU2MFYaVJT svns3ngRLV81mdPISzIjgqt3hyaXHxXXuiLMRj4O4kPNq4ZAL3utr/hecGxwbbnnUbeb D57oTTK8sLYIBpBORgPf2e9NK8CrnTON6bHFcKEkmDVVIeT4ofRHqtrdKQVQvrQa0YBE +wnGgrLuHDHUGGoeJT6tqt1SuYSmJgFcwwFLU9YvyfSlhcS0RjON2e7Ly+0xeFAbNU79 CFMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=WFbvXQ2APRJFufg4w0l+1dyrkXUOfl75/zJtuLTFHKY=; b=eKwBWiibqMcQBmHWZKrHUvW+Ok1Yqx3Kgo26qoVZFFgyWNBFJzha9chwQ2jTYFsHoi nPK8yGT5ah5MvdgWx6g9oz0RL1bN+ji+lFVOZiZwZioh/hH1U1uHO05V5tysADNV5yc/ KRz0HheTaiiJ3mcZg262yZePbF+wHvJOCSLwc9HBKi7P5+TIQpmhk1P9sCR8H172TPBg 6uSBOuvniwuH271VmDqictf1kww0rxLhya3qb/gAbDKgM/TLBxJypccIQhypoxNrjNYN Ism2/isNQHA9YIt4op0Epo70YKcp9Pgr2Ax2DAO266sG2g9B1JffvZ2kEfTJ65Yt3Vpr 0Vqg== X-Gm-Message-State: ANhLgQ1kPvA+953OQ70EnRNQV8a8LQtPv5YWrJYHpZbXSJEzbzkTlc2b vX/s6l2Jvj7PX2kQeX+s1bYnKw== X-Google-Smtp-Source: ADFU+vsKS8MbxfmROvWV1TeNP2q8Sg9DsndkS9JRqrxLJn5JC4+x0iG7SEs7LUoOJzvJQyoTV8KFyQ== X-Received: by 2002:a7b:c8d7:: with SMTP id f23mr720628wml.173.1583963894149; Wed, 11 Mar 2020 14:58:14 -0700 (PDT) Received: from localhost.localdomain ([185.6.105.106]) by smtp.gmail.com with ESMTPSA id r9sm2575517wma.47.2020.03.11.14.58.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Mar 2020 14:58:13 -0700 (PDT) Message-ID: <2d743ef574d27d153f693fca41ec102689b66679.camel@cybertec.at> Subject: Re: Querying an index's btree version From: Laurenz Albe To: Darren Lafreniere , Peter Geoghegan Cc: "pgsql-generallists.postgresql.org" Date: Wed, 11 Mar 2020 22:58:12 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.5 (3.32.5-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, 2020-03-11 at 17:12 -0400, Darren Lafreniere wrote: > Separate but related follow-up question: when you restore a DB from a backup, does the restored index use the old format or the latest one? If you restore a pg_dump, you will have the latest version. If you restore a file system backup, you will have what you had before. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com