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 1peczu-0002l3-0A for pgsql-hackers@arkaria.postgresql.org; Tue, 21 Mar 2023 14:29:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1peczs-00060O-Lx for pgsql-hackers@arkaria.postgresql.org; Tue, 21 Mar 2023 14:29:56 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1peczs-00060F-8J for pgsql-hackers@lists.postgresql.org; Tue, 21 Mar 2023 14:29:56 +0000 Received: from mail-qt1-x82d.google.com ([2607:f8b0:4864:20::82d]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1peczl-0007Bh-7B for pgsql-hackers@lists.postgresql.org; Tue, 21 Mar 2023 14:29:55 +0000 Received: by mail-qt1-x82d.google.com with SMTP id x1so18009651qtr.7 for ; Tue, 21 Mar 2023 07:29:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pcorp-us.20210112.gappssmtp.com; s=20210112; t=1679408988; h=content-language:thread-index:content-transfer-encoding :mime-version:message-id:date:subject:in-reply-to:references:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=39oUOeAECilLvHYB0GYg00Z6e6Lx5Wxn32oqpF7e0a4=; b=ZehsQtibV3CZSJNvTjZHPhTSBwQa+aP9zbt6HMPlVJrNQy+6s9FoVQ6bX8x/LmAutg hinehj61VO/c16RSsUrrX7hvBf+wjn5qUV6QRyckNGCEppNZtEt1KB7gf35CG+go4Y3u +szgVl3ZpoViYq2uRZPBftNcqzN/7ipcJrX4xKyH2U+WbQXQUCRrN1u7CRfyZiQc29Yn 3181wWHJkN5bBWF7fnTy7OhyyWHHrHK3CxbzBSgt3VRRoQfDgZuf9pTVy/UV/wDfpAoJ Z0uaivkMfgJEqHw3mtppn/zIQg8fXCPocoesjr8BNwPXnfc7zn8HfuOieHftYZPpxXgf Fqeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679408988; h=content-language:thread-index:content-transfer-encoding :mime-version:message-id:date:subject:in-reply-to:references:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=39oUOeAECilLvHYB0GYg00Z6e6Lx5Wxn32oqpF7e0a4=; b=cRrgcxsFAnhBIlY0P01Qe4PcvB2RySCQ+4rfBcLE0WQMpC3qzmCkKsO0DFasoDqyP6 hG5D4MQEliqulBnkdLikNl6SP/N/ReVAx/v8FGqfZipwEMgQFBKqJElu9AUTbXWiK/jF 4fBoCLX0omNHz5g7RFlUZAmdVDvXFuR7/w1zorvKDososfUcnSrSp4tJA1mzb9QpNXnw 4cxA0TZ7UDfwM8UsRG2YSYqUR0LxtBBoa+vI9/E4NzEBaGReAF0vUAOZHAQWS5m95sHl Jyapm8ukhG9WBCsASX8Wmjhl4XFQS2sxJC/9hhqwnmX4cnQisKKEuS9abFKf0ChfiFK+ HJvQ== X-Gm-Message-State: AO0yUKVzugsBv+lRGFN0P/dz6i68vcpxHSLy+jSLouqccVjonWgm4Ng0 1jKzz9PFReZA8QJB2E4LsiKNLVN06QtZS9qhhKs= X-Google-Smtp-Source: AK7set8HFwBcKEBaFT9Z7Xm7F7lqmgiT0y2nl4xtcreRb3ZbbqtZNMffDC9lkeUx0Q+0ndLfZFuphQ== X-Received: by 2002:a05:622a:1491:b0:3d0:7bdf:42ec with SMTP id t17-20020a05622a149100b003d07bdf42ecmr188885qtx.7.1679408988370; Tue, 21 Mar 2023 07:29:48 -0700 (PDT) Received: from F (50-78-240-110-static.hfc.comcastbusiness.net. [50.78.240.110]) by smtp.gmail.com with ESMTPSA id g20-20020ac870d4000000b003d7ca267234sm8414861qtp.24.2023.03.21.07.29.47 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Mar 2023 07:29:48 -0700 (PDT) From: "Regina Obe" To: "'Tom Lane'" , "'Sandro Santilli'" Cc: "'Gregory Stark \(as CFM\)'" , , "'Regina Obe'" References: <005401d95083$26ca24a0$745e6de0$@pcorp.us> <995823.1678478825@sss.pgh.pa.us> <004b01d95394$16123ee0$4236bca0$@pcorp.us> <1012975.1678486476@sss.pgh.pa.us> <005501d953a0$906c4df0$b144e9d0$@pcorp.us> <1019515.1678488437@sss.pgh.pa.us> <001d01d953f2$099b6430$1cd22c90$@pcorp.us> <20230313115916.ivvg4tj54szeu5rj@c19> <000701d955f6$dfaaf8a0$9f00e9e0$@pcorp.us> <20230316101418.2a32erangr3nvnuk@c19> <1103862.1679352440@sss.pgh.pa.us> In-Reply-To: <1103862.1679352440@sss.pgh.pa.us> Subject: RE: Ability to reference other extensions by schema in extension scripts Date: Tue, 21 Mar 2023 10:29:44 -0400 Message-ID: <007601d95c01$95744cd0$c05ce670$@pcorp.us> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQF1aS96Q/mFBruZUMXyXpCm6Y8ZOgLXfdbzAh2KTDUCqQCSKwHAG++5AmsEVhwCGfZasQMhUTeiAmG7vz8Bz1Ba7gJSqW73AyS1Kleu98iWIA== Content-Language: en-us List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > Pushed with some mostly-cosmetic adjustments (in particular I tried to make > the docs and tests neater). > > I did not commit the changes in get_available_versions_for_extension > to add no_relocate as an output column. Those were dead code because you > hadn't done anything to connect them up to an actual output parameter of > pg_available_extension_versions(). While I'm not necessarily averse to > making the no_relocate values visible somehow, I'm not convinced that > pg_available_extension_versions should be the place to do it. ISTM what's > relevant is the no_relocate values of *installed* extensions, not those of > potentially-installable extensions. If we had a view over pg_extension then > that might be a place to add this, but we don't. On the whole it didn't seem > important enough to pursue, so I just left it out. > > regards, tom lane Thanks. Agree with get_available_versions_for_extension, not necessary. Thanks, Regina