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 1nnKPs-00045m-7C for pgsql-sql@arkaria.postgresql.org; Sat, 07 May 2022 13:24:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nnKPq-0001Tj-TB for pgsql-sql@arkaria.postgresql.org; Sat, 07 May 2022 13:24:10 +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 1nnKPq-0001Ta-IF for pgsql-sql@lists.postgresql.org; Sat, 07 May 2022 13:24:10 +0000 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nnKPl-0004Fy-Qs for pgsql-sql@lists.postgresql.org; Sat, 07 May 2022 13:24:09 +0000 Received: by mail-ej1-x636.google.com with SMTP id n10so19060471ejk.5 for ; Sat, 07 May 2022 06:24:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=GGnnx1KzWPUrthYKv/HpMG0LjSNI0iq+Mn5XRwNH6SY=; b=DiY3jjis1ucE0rt1/w7ud5Hxb2J5vYOykdEd+Vjoi4mCmA1XcITRR8on10CPDV7W5p Gjna10TY2QA6oa5+iHW39SnTDqcCyUnB++N4+WoH+zQitWQBYtMdCzkmqv3J6lk34wiI y4srG50qGSGY/E2cwoWXo7jnOVdjbxKKxW4DSBYpYSjDpvGLhZSrFT1XmhRO4SRSLM70 2hYWmT1HyX8JesoVjQqNCvZMcwYX0At8fcXXmsD7TzYE5svSiPSTlk0VsVTrmvqqMvcd ymo2BaC0xsSWCGE4CQ2W89Js1JV5VmQIdp6Cv2m1LR7i3ZMgNgmqx0+FmpWXjEY4i/p0 1YrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=GGnnx1KzWPUrthYKv/HpMG0LjSNI0iq+Mn5XRwNH6SY=; b=tWmnmr37fwYLPmEzCpaViyMKUJb1Z/KbKUz97sttA5AqhN4Tt/AICQUUAhiYEjOK8d qtab4KU3+QWI4Lxdc8DXT1qLIJwthUfhlw4S0CA0CFXE2p0+4Oce85exdPdfPsHf49sK CwBLM4PbeO6vV9lKWYUJE0fdh0R/tGu7hZ+nkRFoGJpEQmur5fJsJ0tm97msvFufGQmo 1hY8xaqC16XHFKSZYS8NsolQSbHeCddi6aJerNTgmV/fh1YmBt8+avT0UPFvqHkx9Ke/ PmPZ2T+b6GY09caaROlsAZZqBB/Nd2CJH9RD8lJx8FTNv05O0IZ4byLTXqUMmAHRqaLv bM/A== X-Gm-Message-State: AOAM532/NXeAV9bcuvjuIzSowmyVurgrBCfoIdfyHTKahZryhs98soqt evBdIDETwh6t/8DgUFEr5Mwszg8JhJuKzDI6q7Nf2Nzy X-Google-Smtp-Source: ABdhPJyWM0WVBNFiDUJU5dffy0wcYM+TCRh7VRaTQlOarVp9SL/WAzT5NDqMdjonmQ5nkJfJNeTB3XoAYyK19fv/TKg= X-Received: by 2002:a17:907:94d2:b0:6f4:b5f9:6f3a with SMTP id dn18-20020a17090794d200b006f4b5f96f3amr7200858ejc.313.1651929844512; Sat, 07 May 2022 06:24:04 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Shaozhong SHI Date: Sat, 7 May 2022 14:23:53 +0100 Message-ID: Subject: Recursive query - ERROR: invalid memory alloc request size 1073741824 To: pgsql-sql Content-Type: multipart/alternative; boundary="000000000000937c7105de6be367" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000937c7105de6be367 Content-Type: text/plain; charset="UTF-8" There is a loop of recursive query. It runs at a point where it stops. This error turned up.- ERROR: invalid memory alloc request size 1073741824 Can anyone provide pointers how to solve this problem or work around? Regards, David --000000000000937c7105de6be367 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
There is a loop of recursive query.=C2=A0 It runs at a point where i= t stops.

Thi= s error turned up.-=C2=A0ERROR:=C2=A0 invalid memory alloc request size 107= 3741824

Can anyone provide pointers how to solve t= his problem or work around?

Regards,
David
--000000000000937c7105de6be367--