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 1tWlWz-001TPS-A6 for pgsql-general@arkaria.postgresql.org; Sun, 12 Jan 2025 00:08:41 +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 1tWlWy-00DpKl-Ik for pgsql-general@arkaria.postgresql.org; Sun, 12 Jan 2025 00:08:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tWlWx-00DpI4-N7 for pgsql-general@lists.postgresql.org; Sun, 12 Jan 2025 00:08:39 +0000 Received: from fhigh-b3-smtp.messagingengine.com ([202.12.124.154]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tWlWt-0019KY-2N for pgsql-general@lists.postgresql.org; Sun, 12 Jan 2025 00:08:39 +0000 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id E308825400F5; Sat, 11 Jan 2025 19:08:33 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Sat, 11 Jan 2025 19:08:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding: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=fm1; t=1736640513; x=1736726913; bh=l9H2OP3z1l3yVWE8jr3yUi6LjUNvCCgsq34ypQukXcE=; b= JQw27A+bo1Ysgkz9+7rSUuGdR8UhrPc33EQTtLghT7ARQ+KQzUnUgoWwITvDCCx8 Qe1KxEGoPPTIqouvn9uP6fKJ4SmDjtlbOnm90rhJvpWahVqTxNUmN132Rv9FNRB6 1BYHIgloAY/6HRbuIBUIjNlF+Ks0JyZJLHOy25h0PdUDFaNFshNEi5AekQb2icFB qNU6w/7wMbzMHdAbyrlSiml/XGiHBNVFEJZfGLPFCRbGQh/nr9QuSXy4EQFwuUd4 CdK6XEyTyYnyrZfdyT8t1Un/0n8iEhov2bUuh6AAbWJdrNL28HQyukyeaVZLes7e wC9GbJ4BcWh82HfVwoUzzQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :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=fm2; t=1736640513; x= 1736726913; bh=l9H2OP3z1l3yVWE8jr3yUi6LjUNvCCgsq34ypQukXcE=; b=f n+/6EhZSreoT+meQH8As9V5xwICYwWND3dGlGm06nefLtHQUpUB2AUjiESQ6GskY OpNrqE4EEISBDHZEAQCCRukgqsXIO8l0eVFsKEusn5gs8xPAxshKOWChMFoVFQfy /OOKHfRbg/nVEC741rD7//7lebY5C6nCOtDeR/hQ3itEcWrUb2Y/dcbb3/SElL+i gYqyI1thpcVYTeQFf6NkHik8I5s4KF5QfLC1/HwP+XsieXjYxYdFFOIFLeHSWdVh vyEFStLjVm07FvhaKbwQw1jeGfeg6XWr19nGj8aCOc2dCRp812z96a5QJ9/jbFj5 P7dYY1El3lUdcTbYn8Zeg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudehuddgudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdej necuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrh esrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepuedufeejjefggfdttdeg hefgkeeuveekkeeiteettdekffehiedvtefhveffgeeunecuffhomhgrihhnpehpohhsth hgrhgvshhqlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmpdhnsg gprhgtphhtthhopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehhrghrthhm rghniedthhhomhgvsehgmhgrihhlrdgtohhmpdhrtghpthhtohepvgifihgvsegvfihivg drnhgrmhgvpdhrtghpthhtoheprhhonhhljhhohhhnshhonhhjrhesghhmrghilhdrtgho mhdprhgtphhtthhopehpghhsqhhlqdhgvghnvghrrghlsehlihhsthhsrdhpohhsthhgrh gvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 11 Jan 2025 19:08:32 -0500 (EST) Message-ID: Date: Sat, 11 Jan 2025 16:08:32 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Display Bytea field To: Andy Hartman Cc: Erik Wienhold , Ron Johnson , "pgsql-generallists.postgresql.org" References: <10fe353b-a5ba-4522-badf-89119179b4f0@ewie.name> <9374c94f-95cc-4fa6-a997-a8fd7acdf379@aklaver.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 1/11/25 15:49, Andy Hartman wrote: > I still have csv files and loaded right into PG no decoding and look > like this little snippet and I did the COpy command into PG You have not answered: What data type was used to store data in MySQL? Show command used to pull data from MySQL. > > "/9j/4AAQSkZJRgABAQAAAQABAAD Are you sure? The acceptable formats are shown here: https://www.postgresql.org/docs/current/datatype-binary.html And the above does not look like either. -- Adrian Klaver adrian.klaver@aklaver.com