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 1o4AFO-0007ca-6c for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Jun 2022 23:58: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 1o4AFN-0007XH-0i for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Jun 2022 23:58:57 +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 1o4AFM-0007X7-IX for pgsql-hackers@lists.postgresql.org; Wed, 22 Jun 2022 23:58:56 +0000 Received: from mail-io1-xd2c.google.com ([2607:f8b0:4864:20::d2c]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o4AFF-0002m1-8K for pgsql-hackers@lists.postgresql.org; Wed, 22 Jun 2022 23:58:55 +0000 Received: by mail-io1-xd2c.google.com with SMTP id y18so2341255iof.2 for ; Wed, 22 Jun 2022 16:58:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=nI4ai9IjXrGkJX2k36KVkJFIqpYc5IMVOBDpW4We71k=; b=fspIF2X0pwUQ61XmVT7uNbWDJhwkj79DTfyPr5KTDJOIZzXlHZeK2YzFT7TVD51kiY uDj5vhunD8QjTX9Y2SO8Nzu+UvF+8rnljhw0EtghawZtiV26yYMB2HNsi+FBMevQC4gJ e3A66OSwB8dEmDRiIVZv5R0+Ymp1y0MKLIvrfxq9IKOJpJiSb17WYRyPslLO0Tv86omr dWmtATQTluCZTvnip6KlHN4jOCrLr8YA5cQyBQ/1J4zxVt444cvVs8jpoC7+smr6F0Qa t3khH8h1NVhQPX+cVJY/uw2Hx2RYAsFumkfhHV4V3pUBja+YrAOU2FKkiehvU4IPO+3g 7j8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=nI4ai9IjXrGkJX2k36KVkJFIqpYc5IMVOBDpW4We71k=; b=tkAoLgRhbWcwGlQ7G6XVfH3KvBDn5zZTrL+MrgupyWzEnRoyWyiwsx54GqYviieYvG Q4hygrZjF6Ut9ObK2GT2+Ug8QM1QF/JTC4YN4bEhICBMxXHHteWnGYQNYM6r8/4tEZeb ODaJhhBJvUbI8lcdrSNX9iLxfKUP3AC9XXtO3WCPgcXTz0YETlbwrhUv/owEVeFsA3am 7QoafEVlu1bc0430fUViqtVNyn3cXfD93HW1oKdkJKjMPxKlZa6FteY32ylQYrnsJNNh 9gsyWHvjU0+C8Rte2lwAEbYhz+dBR4IByeMyPljXf06puGJisb+Np+1hZLqHFdeMnal7 jlqw== X-Gm-Message-State: AJIora+ffqJZ8sMmvz+3q/haYkdk+DyIb/wqB8WHU6/jbP4tNEOoR9/d KsKTkQ75OtrlOlEC+LyAh+zVRQ== X-Google-Smtp-Source: AGRyM1urOYVLwr/8gpnTihIJubZWycaNfnnFka2fo/GsUlpCRgeh+GvC901wXIUSWYvOBMD4hc6Pbg== X-Received: by 2002:a02:b708:0:b0:331:67bf:dbef with SMTP id g8-20020a02b708000000b0033167bfdbefmr3741155jam.176.1655942327155; Wed, 22 Jun 2022 16:58:47 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id f8-20020a028488000000b00331d764e5b5sm9088296jai.97.2022.06.22.16.58.46 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jun 2022 16:58:46 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 3C2D7800934; Wed, 22 Jun 2022 18:58:45 -0500 (CDT) Date: Wed, 22 Jun 2022 18:58:45 -0500 From: Justin Pryzby To: Tom Lane Cc: Robert Haas , "David G. Johnston" , Petr Vejsada , pgsql-hackers@lists.postgresql.org Subject: Re: pg_upgrade (12->14) fails on aggregate Message-ID: <20220622235845.GV22452@telsasoft.com> References: <3383880.QJadu78ljV@vejsadalnx> <20220614230949.GX29853@telsasoft.com> <540147.1655321524@sss.pgh.pa.us> <20220617020103.GG29853@telsasoft.com> <1216673.1655475253@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="idY8LE8SD6/8DnRI" Content-Disposition: inline In-Reply-To: <1216673.1655475253@sss.pgh.pa.us> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --idY8LE8SD6/8DnRI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jun 17, 2022 at 10:14:13AM -0400, Tom Lane wrote: > Robert Haas writes: > > On Thu, Jun 16, 2022 at 10:01 PM Justin Pryzby wrote: > >> To me, oid>=16384 seems more hard-wired than namespace!='pg_catalog'. > > > Extensions can be installed into pg_catalog, but they can't get > > low-numbered OIDs. > > Exactly. (To be clear, I had in mind writing something involving > FirstNormalObjectId, not that you should put literal "16384" in the > code.) Actually, 16384 is already used in two other places in check.c, so ... done like that for consistency. Also fixes parenthesis, typos, and renames vars. --idY8LE8SD6/8DnRI Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="v3-0001-WIP-pg_upgrade-check-detect-old-polymorphics-from.patch"