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 1qVkeS-0016s4-GU for pgsql-general@arkaria.postgresql.org; Tue, 15 Aug 2023 03:23:24 +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 1qVkeQ-009p9g-RL for pgsql-general@arkaria.postgresql.org; Tue, 15 Aug 2023 03:23:22 +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 1qVkeQ-009p9Y-Ff for pgsql-general@lists.postgresql.org; Tue, 15 Aug 2023 03:23:22 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qVkeM-000Bo3-77 for pgsql-general@lists.postgresql.org; Tue, 15 Aug 2023 03:23:21 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 37F3NFwe1022629; Mon, 14 Aug 2023 23:23:16 -0400 From: Tom Lane To: Sai Teja cc: pgsql-general@lists.postgresql.org Subject: Re: Fatal Error : Invalid Memory alloc request size 1236252631 In-reply-to: References: <6BDA46BE-B926-4BF7-AEBF-C9153D59A51D@a-kretschmer.de> Comments: In-reply-to Sai Teja message dated "Tue, 15 Aug 2023 08:34:20 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1022627.1692069795.1@sss.pgh.pa.us> Date: Mon, 14 Aug 2023 23:23:15 -0400 Message-ID: <1022628.1692069795@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Sai Teja writes: > I got to know the field size limit for the bytea datatype column is limited > to 1 GB in postgreSQL. Then how can we increase this? You can't. That limit is wired-in in many ways. Think about how to split your data across multiple table rows. regards, tom lane