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 1mQudW-0002B3-8Z for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Sep 2021 16:53:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mQudU-00069m-O4 for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Sep 2021 16:53:20 +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 1mQudU-00069e-Dh for pgsql-hackers@lists.postgresql.org; Thu, 16 Sep 2021 16:53:20 +0000 Received: from post.visena.com ([46.226.10.50]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mQudS-0005eT-B3 for pgsql-hackers@postgresql.org; Thu, 16 Sep 2021 16:53:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=visena.com; s=20141101.wh; h=Content-Type:MIME-Version:Subject:References:In-Reply-To: Message-ID:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=3HpnT0OriSVVCUkDNHBL/iOAe3TzDrIgUTPIcS8y/sg=; b=rLKF56omydt28BdDKbw5Y806nI 4NDBICPaH8RcAtQ3WG6+mgtWERlKM0iyWis7taO+pYDhUYdSnylo0aAAChlT+tGpyJ5fdg97GVxHJ BI8fTMjm4d/rLoHyvWghPvPW5zb3Ghs/K7OqaNIUcr034aE472/Q/TD8yENvlvcjznWI=; Received: from batch01.services.internal.visena.net ([10.3.0.103]) by post.visena.com with esmtp (Exim 4.93) (envelope-from ) id 1mQudI-004l8g-9q; Thu, 16 Sep 2021 18:53:08 +0200 Received: from localhost ([127.0.0.1] helo=batch01.services.internal.visena.net) by batch01.services.internal.visena.net with esmtp (Exim 4.93) (envelope-from ) id 1mQudI-00GWes-0T; Thu, 16 Sep 2021 18:53:08 +0200 Date: Thu, 16 Sep 2021 18:53:07 +0200 (CEST) From: Andreas Joseph Krogh To: Tom Lane Cc: Peter Eisentraut , Andrew Dunstan , torikoshia , Pgsql Hackers Message-ID: In-Reply-To: <1126187.1631749231@sss.pgh.pa.us> References: <5bafa66ad529e11860339565c9e7c166@oss.nttdata.com> <3208199.1631039493@sss.pgh.pa.us> <24ce73f9-c714-9a7c-6cc0-34e724c8f1c9@dunslane.net> <984394.1631719708@sss.pgh.pa.us> <1126187.1631749231@sss.pgh.pa.us> Subject: Re: EXPLAIN(VERBOSE) to CTE with SEARCH BREADTH FIRST fails MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_15816_1129038768.1631811187927" X-Mailer: Visena Mail 3.0.30 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk ------=_Part_15816_1129038768.1631811187927 Content-Type: multipart/related; boundary="----=_Part_15817_2031905405.1631811187927" ------=_Part_15817_2031905405.1631811187927 Content-Type: multipart/alternative; boundary="----=_Part_15818_1834809526.1631811187951" ------=_Part_15818_1834809526.1631811187951 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable P=C3=A5 torsdag 16. september 2021 kl. 01:40:31, skrev Tom Lane >:=20 [...] regression=3D# with recursive cte (x,r) as ( select 42 as x, row(i, 2.3) as r from generate_series(1,3) i union all=20 select x, row((c.r).f1, 4.5) from cte c )=20 select * from cte; ERROR: record type has not been registered=20 FWIW; I saw this Open Item was set to fixed, but I'm still getting this err= or=20 in 388726753b638fb9938883bdd057b2ffe6f950f5=20 -- Andreas Joseph Krogh=20 ------=_Part_15818_1834809526.1631811187951 Content-Type: text/html;charset=UTF-8 Content-Transfer-Encoding: quoted-printable
P=C3=A5 torsdag 16. september 2021 kl. 01:40:31, skrev Tom Lane <tgl@sss.pgh.pa.us>:
[..= .]
regression=3D# with recursive cte (x,r) as (
select 42 as x, row(i, 2.3) as r from generate_series(1,3) i
union all=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
select x, row((c.r).f1, 4.5) from cte c
)=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
select * from cte;
ERROR:=C2=A0 record type has not been registered
">
=C2=A0
=C2=A0
FWIW; I saw this Open Item was set to fixed, but I'm still getting thi= s error in=C2=A0388726753b638fb9938883bdd057b2ffe6f950f5
=C2=A0
--
Andreas Joseph Krogh
=C2=A0
------=_Part_15818_1834809526.1631811187951-- ------=_Part_15817_2031905405.1631811187927-- ------=_Part_15816_1129038768.1631811187927--