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 1uHF7d-00G6tu-ED for pgsql-bugs@arkaria.postgresql.org; Tue, 20 May 2025 05:02:38 +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 1uHF7b-004AkY-P4 for pgsql-bugs@arkaria.postgresql.org; Tue, 20 May 2025 05:02:35 +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 1uHF7a-004AkQ-TZ for pgsql-bugs@lists.postgresql.org; Tue, 20 May 2025 05:02:35 +0000 Received: from fhigh-a5-smtp.messagingengine.com ([103.168.172.156]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uHF7X-002hK8-23 for pgsql-bugs@lists.postgresql.org; Tue, 20 May 2025 05:02:34 +0000 Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfhigh.phl.internal (Postfix) with ESMTP id DCA431140136; Tue, 20 May 2025 01:02:30 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Tue, 20 May 2025 01:02:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1747717350; x=1747803750; bh=/rUFDpCVSv Bd15rES/YWEIx6uWpBj/IUQjtnUjgzYKE=; b=PeNUUIcAaJRROguV6gG3HPNpd2 FE19y4lmea2gZ9oTBb0mCnGwcspcaHiVv91QU7mOxnTiBZFk8LwBSeVTHEPXZRTi 37UeRymHJo4G8nXGRcLxABpMi6vrAk3BgvzaJzD5c8JhdiLvlEqJWrod1fUV1z8S m+4a7V9/DUMJiTTT67ao9nctm18mYZ+1D+TXtJ6xfR/XAhA/4pNPVmgUGEBbMCeJ 7S4SISteKFIB1gfo9RtplxPRiaApT2baroSCs9OgPKMRtd/yilnX3k9AQYqosAHR wEDUEeEJUJ3MrRGhCgVcyr3qSidSSAOJTS8uj4SLrOlkDsrIeRLbV4M+Xauw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1747717350; x=1747803750; bh=/rUFDpCVSvBd15rES/YWEIx6uWpBj/IUQjt nUjgzYKE=; b=jGEltpouoaHAfi1M4t45JMZjt5k8ixkaRD8omlJZBDggD+paiO/ qMVVNQ+csd7GWH78E01FC372Fe7uxvmD1fvxHI6quJvlwKhIB5j67qAdHxSw3hJc qqT2THR9wy+YuqMNpJDfhJPJy7O0qXLYEHjW0fy0EoEZPR/B6+u7FOc+cpYXq+Vu tpoKLKynh4pjKb9iTaJOWfPTNadwhwUEWfFkWHZcjRnOi69Vs0i1oeVtkoNxNGCv DpCCh0W5L+xZ81z6Wdd4ZxoSWGAA4MSEEWHXbp1cqg1h8B8LrXbpRnaCRXzpIx9z O8E7ORHabXe9e53etLnBKFtcDAitCuY1M6w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdefvdeffeejucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnegfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefu kfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivg hruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhep teelieefudffhffhtdetleeggeegfffhkeeuveetiefgudduvedutefggeeivdejnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggv lhesphgrqhhuihgvrhdrgiihiidpnhgspghrtghpthhtohepgedpmhhouggvpehsmhhtph houhhtpdhrtghpthhtohepthhglhesshhsshdrphhghhdrphgrrdhushdprhgtphhtthho pehhlhhinhhnrghkrgesihhkihdrfhhipdhrtghpthhtohepjedtjeeffedtudefleesqh hqrdgtohhmpdhrtghpthhtohepphhgshhqlhdqsghughhssehlihhsthhsrdhpohhsthhg rhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 20 May 2025 01:02:28 -0400 (EDT) Date: Tue, 20 May 2025 14:02:21 +0900 From: Michael Paquier To: Tom Lane Cc: Heikki Linnakangas , 707330139@qq.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18929: After the view is created, executed query against the view definition, reported syntax error. Message-ID: References: <18929-077d6b7093b176e2@postgresql.org> <349f86e9-6922-4fcc-9725-b8a6f0667bea@iki.fi> <614740.1747715486@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rjsuLZOpiITBaOLZ" Content-Disposition: inline In-Reply-To: <614740.1747715486@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --rjsuLZOpiITBaOLZ Content-Type: multipart/mixed; boundary="FXr/l8gi82UAYFBl" Content-Disposition: inline --FXr/l8gi82UAYFBl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, May 20, 2025 at 12:31:26AM -0400, Tom Lane wrote: > In the no-good-deed-goes-unpunished department: it appears from > buildfarm reports that we need to do something about output > mismatches in cross-version-upgrade tests due to this commit. > I didn't yet look more closely. Yes, the buildfarm is unhappy. It seems to me that this needs an update of @_unused_view_qualifiers in AdjustUpgrade.pm to update public.limit_thousand_v_5's qual, like in the attached. This is needed in v16 and newer branches. -- Michael --FXr/l8gi82UAYFBl Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="fix-upgrade-test.patch" Content-Transfer-Encoding: quoted-printable diff --git a/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm b/src/test/perl= /PostgreSQL/Test/AdjustUpgrade.pm index 609275e2c26d..1725fe2f9487 100644 --- a/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm +++ b/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm @@ -538,6 +538,7 @@ my @_unused_view_qualifiers =3D ( { obj =3D> 'VIEW public.limit_thousand_v_2', qual =3D> 'onek' }, { obj =3D> 'VIEW public.limit_thousand_v_3', qual =3D> 'onek' }, { obj =3D> 'VIEW public.limit_thousand_v_4', qual =3D> 'onek' }, + { obj =3D> 'VIEW public.limit_thousand_v_5', qual =3D> 'onek' }, # Since 14 { obj =3D> 'MATERIALIZED VIEW public.compressmv', qual =3D> 'cmdata1' }); =20 --FXr/l8gi82UAYFBl-- --rjsuLZOpiITBaOLZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmgsDN0ACgkQnvQgOdby QH0umA//coZ6aWADdB2zz2UWWqPrwIvGpsEqdm3kttb5ByDpVHJ46Y5aqAz90EYY j+jQeSCo64AAxOY2iSkDDXjGqTg6/88mBZzhR/sawvstjUaM4hAeJdeG2IDnfM1e rz+l9ba6JE4dnUJz97riM/e/LwhSiXM8RXyY7H01tfGtlXJ9pSpWChA7Nto5+E+1 uBtqlkH2h1wET8m1fmABr8OaHgJzOBJlgqBI2uCqlD9cpBY7p+cDPwjuO5xGB1Mr C3Hk2/YyEHBss7MoOUijCIShD+JdGNop4+03kxRBonWJmDYtNgu4j9zbH6YE42AH rVtoGRaZrXYBZaXiEMj2wilfK271bDAfVuf4cIi8/WrwTQO96IH2+Bp/K+P8wWtX UKhM8935fBmPClpUKrX2stUZK1hxORMVkpQmPKC0cxzWDBJ7sSSWhiyIBIvApasz YAoB6fyGM+ujd3Y7l78FwqgoKD6DA1Y6os4MfxJOX/kc5X8U5EiuV8EXwib4HUsp yJfGNtWZvAIiIuRNLADnVFVdnjr83KuMQdg9hV4FUJRh1AaKLsNhaBPZlx43uDav 6KaFw93jjQhRTdfFL77mrXa0PiqdaxyYgBgDeJJ5d0bMdj1WE7Ipn/NzhDlgUhmX ah8NBantIv9sXubJlA0ZKrK1b8/iU2uz4jHYU7cqO1WlssFsIew= =uUQ/ -----END PGP SIGNATURE----- --rjsuLZOpiITBaOLZ--