Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qj1Sr-008yZ4-LW for pgsql-hackers@arkaria.postgresql.org; Wed, 20 Sep 2023 17:58:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qj1Sp-001cRm-GU for pgsql-hackers@arkaria.postgresql.org; Wed, 20 Sep 2023 17:58:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qj1So-001cRP-Gf for pgsql-hackers@lists.postgresql.org; Wed, 20 Sep 2023 17:58:15 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qj1Sl-005fL2-4n for pgsql-hackers@lists.postgresql.org; Wed, 20 Sep 2023 17:58:13 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id D6B725C0120; Wed, 20 Sep 2023 13:58:09 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 20 Sep 2023 13:58:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1695232689; x= 1695319089; bh=Xwx9Q8eqqPxlJN3w2OIYq6c35idxpog1SsnNe7hPrVA=; b=P Mna2NoaeOGUCPSa739jD0pFx4o9ciAZq3c+1+FyB+swAcres5inoSuxLkBswKbJj SIOiY1igDaal0dodooiwihqRTc6ISvCSDw05leDxTjrCy0XU6cPnzXZU4Q0Ayp4Y q6WBGgqMc5O1f6JrZNknMJokMKjAIpc54v4zo8c7ExkZfSr9W6IspLMVyuw/4nXn aso+fCl4exe1Z4T7sZJb4dokvBJAkRSnZpvuVoO4FsEUU7caRC7cUIhYleT43XYX xFPmtiJ34dLhgYWmom45cS+x+Prd3LZC5iMbny5R+JRvBcV0i80QPkJaW7Facu3E eMXpZxoVn3K3AGDP63wig== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudekfedguddvudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhv rghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorh hgqeenucggtffrrghtthgvrhhnpedvkedtffduffdtffffheffhfejjefhgfeiueeukeej keffgfdufffhudffffeuveenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtoh hmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghl vhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 20 Sep 2023 13:58:09 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 24AD0C9; Wed, 20 Sep 2023 19:58:07 +0200 (CEST) Date: Wed, 20 Sep 2023 19:58:07 +0200 From: Alvaro Herrera To: Tristan Partin Cc: Pg Hackers Subject: Re: pg_upgrade --check fails to warn about abstime Message-ID: <202309201758.vox63zqcqpi4@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2023-Sep-20, Tristan Partin wrote: > > +/* > > + * check_for_removed_data_type_usage > > + * > > + * similar to the above, but for types that were removed in 12. > > + */ > > +static void > > +check_for_removed_data_type_usage(ClusterInfo *cluster, const char *datatype) > > Seems like you could make this more generic instead of hardcoding version > 12, and then you could use it for any future removed types as well. Yeah, I thought about that, and then closed that with "we can whack it around when we need it". At this point I imagine there's very few other datatypes we can remove from the core server, if any. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "La libertad es como el dinero; el que no la sabe emplear la pierde" (Alvarez)