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 1k6Da3-0003hI-Sy for pgsql-general@arkaria.postgresql.org; Thu, 13 Aug 2020 13:47:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k6Da2-0000G0-9S for pgsql-general@arkaria.postgresql.org; Thu, 13 Aug 2020 13:47:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k6Da0-0000Ft-J7 for pgsql-general@lists.postgresql.org; Thu, 13 Aug 2020 13:47:42 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k6DZs-0005v7-NJ for pgsql-general@lists.postgresql.org; Thu, 13 Aug 2020 13:47:40 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id C74B35C014D; Thu, 13 Aug 2020 09:47:29 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 13 Aug 2020 09:47:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=C dr6qma9NT1IM/41aIW0S37I7myhj6hiOMWXnkx1A00=; b=Z2yVMO9SrWLLBEW/x rP2NvrPTYrQHthfhHXuUZqFFrcwIyZ7p5XBrSdxv1OCFF/goQ7Yq/qVhug6oppPL TZlwBPxQg7ot5WBoDbounlCGir1+trqpfsSauRV/BFSwswfRqg3P7MUcbAqZfy3d pxfgq32wtgeB9wlBzG2Hz3o0DkGRYbSnhb5eWaLQPI9a0+p0Qmy/9ClyI7ZdMIix OmFfVY0LAIKv7kqiLwTa/5mTgA32DpEMb3/QJ+X1f0DpMngVNyjdWCwgVUq3UNr2 651Ja/D0Z1TfEmGvjiv7LzwQ/ibJ3d9mxL82c2+ussue/Gr+h91mYRitXppLvTgb B62pQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=Cdr6qma9NT1IM/41aIW0S37I7myhj6hiOMWXnkx1A 00=; b=KInRkI5jWjopmTLTOesgdMmsrF9h+Qqc3laYoFv/GgtaJebfO9i63+DHp i+rGEFo0nIUknBU3t1FHhaifw6GnZ5OetKJFOGaIo2QYu5N4ROVSoW+ameRPudPX 8mEgda17mZPp8xaYsaNPSFNWvr+2xOW/1Xx0bFhy0CbkpjE5iTC1WL5GZXy7Mg1y Prf+HnqxSEYt+MOlCjjp9AfylYG4v9dQgXQXsClACD3VnrPEK8DjmHLBHl+CVSAE jD8dUsy6A9FacYz5pcbNX+w3AMaT7OzfI3luvIpeQSfw6GfP/emV0PJEsqXePux0 9/6l/6qNrVh3CPiq9993ncivFbKhw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrleehgdeggecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthejre dttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeetjedvteffje euvdelieeffeehuedthffgvdfhhffhkedvudevgedvjedufefgveenucfkphepjeehrddu jedvrdehrddvfedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: from [192.168.1.3] (75-172-5-231.tukw.qwest.net [75.172.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 0E03B30600B2; Thu, 13 Aug 2020 09:47:28 -0400 (EDT) Subject: Re: Bytea Example To: Naveen Kumar , pgsql-general@lists.postgresql.org References: From: Adrian Klaver Message-ID: <24b837bf-3a17-bfa5-d1de-5ba324da41d5@aklaver.com> Date: Thu, 13 Aug 2020 06:47:28 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 8/13/20 6:40 AM, Naveen Kumar wrote: > Can someone please give me an example on byteA data type. > > 1. How to import a image/text file into Bytea data type.? > 2. How to export the same? What programming language and database driver are you using? -- Adrian Klaver adrian.klaver@aklaver.com