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 1tWlYF-001TZH-Hb for pgsql-general@arkaria.postgresql.org; Sun, 12 Jan 2025 00:09:59 +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 1tWlYE-00Dsjr-S7 for pgsql-general@arkaria.postgresql.org; Sun, 12 Jan 2025 00:09:58 +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 1tWlYE-00Dsjj-Hl for pgsql-general@lists.postgresql.org; Sun, 12 Jan 2025 00:09:58 +0000 Received: from mail-yb1-xb32.google.com ([2607:f8b0:4864:20::b32]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tWlYC-0017H8-0Q for pgsql-general@lists.postgresql.org; Sun, 12 Jan 2025 00:09:57 +0000 Received: by mail-yb1-xb32.google.com with SMTP id 3f1490d57ef6-e4930eca0d4so4604857276.3 for ; Sat, 11 Jan 2025 16:09:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736640596; x=1737245396; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=tvpPwjsQpCHQuyzkhlER1Jw9v1cwzKJH4CK+k+fox/g=; b=WgAo+37eWNqiaH5JpRlzFFcrVXIS6ilnWGiV5Hntj5gLI+Js3jB7M6ZfwTbeeQUelj UxxopL2IO+O51e3WONOqBngzNvw0pAlcHGaQnguLdwFtUnDWtv2tIXfYWleIS0vC9peM PF74V8ChtsU+87FJrmKzYUaK6SnnkvnoyvQSpMUWblNjTq6cBVYfUkw3hW3KCLPgX8sp iIXJlw8tek+Tf6W0461zdSkJxEOi6WFLHRGy40vVqXTGBVgCRv33HDeAF1VZ2P2L1qVB UgJ2R2IUwMfn7SfW/QZcRA+WlvoUs/DjC74Q3mLOj8ET7P+s8dQYdumC6n/Pxd+MlAUP jcqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736640596; x=1737245396; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tvpPwjsQpCHQuyzkhlER1Jw9v1cwzKJH4CK+k+fox/g=; b=B2YTQNPyRlLVHCUedEJjfw+QsszbkEJD+PLNOJXuAhWrZBC3yVLlMZlNVKQfBMUoIz gSPqATojJ3jVCXPbTlmqz3qbhos+SpUSoISFMyIM+Ez0l33LDG8Dy4/P9P+LTP6yIxiL Tu0IKQRHHbuwRC6KkRdyfsSy0Qm6jMVJLEQfmWYLIil5t2vzqWWl/L1PZ6Bdniv44Tmf hq2k9cMdO0pZmN0/urP/KvzuxLOj2ZohJLGWQFbCQAMEiB8VbRYd70z4Gelnbo3rWtcg g54c5TViOVSB9M4f0b5oIDL4FBHmlMUXdpsj0p+2dsKgGeUPcdZHRgg66x+hq4xjTTYT rE5Q== X-Forwarded-Encrypted: i=1; AJvYcCWGJp4RDpeEgfmJgJtByHAJtB2alDHMXmR9IazAP7S5iRXK6jRsvM9p29UoYwhlb6B4//3Iw9cx6SJ22AAi@lists.postgresql.org X-Gm-Message-State: AOJu0YzHn/D8WOBXSgy/o70GvmiAudnRd3aryZzSJbXtYXAQuHK557DC kJBIljM8dEy6ttMPNqxzTb/S+BmYQptVf4t19hSXl+eqbj5Q+Y21+sEOb4HvpitQCl7goGO3vVp fPS36aHBsj8GNAoCqjpYoC3nNerY= X-Gm-Gg: ASbGncs+BDN4vxlUieSS4Xro6xSZq1SumQaErQgp1Ic8hVRwRbYFUXcSwH6kBfs9Jy0 /Q09mfPwdx+LCMSKiLX+Z5QRXW0slRw2UGNGO X-Google-Smtp-Source: AGHT+IGM2zY7iyc4TJwDwKU/Lfjru28UwFtr98Dal4ZEW1H/KzoW5JA6qiljlE/Y3xu8tv3ANBYssbIqWfjtldF+iT8= X-Received: by 2002:a25:841:0:b0:e3a:228f:b6ae with SMTP id 3f1490d57ef6-e54ee184516mr9430397276.28.1736640595657; Sat, 11 Jan 2025 16:09:55 -0800 (PST) MIME-Version: 1.0 References: <10fe353b-a5ba-4522-badf-89119179b4f0@ewie.name> <9374c94f-95cc-4fa6-a997-a8fd7acdf379@aklaver.com> In-Reply-To: From: Andy Hartman Date: Sat, 11 Jan 2025 19:09:44 -0500 X-Gm-Features: AbW1kvYCJpFNxMyZ2UBneVEm5RCpNF7n6rFmaCRQXPBkh6PXrChKxcIu8hO1b04 Message-ID: Subject: Re: Display Bytea field To: Adrian Klaver Cc: Erik Wienhold , Ron Johnson , "pgsql-generallists.postgresql.org" Content-Type: multipart/alternative; boundary="000000000000ce8e8e062b77258b" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000ce8e8e062b77258b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable In mssql its a image datatype. On Sat, Jan 11, 2025 at 7:08=E2=80=AFPM Adrian Klaver wrote: > 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 > > --000000000000ce8e8e062b77258b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
In mssql its a image=C2=A0datatype.

O= n Sat, Jan 11, 2025 at 7:08=E2=80=AFPM Adrian Klaver <adrian.klaver@aklaver.com> wrote:
On 1/11/25 15:49, Andy = Hartman wrote:
> I still have csv files and loaded right into PG no decoding and look <= br> > 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.klave= r@aklaver.com

--000000000000ce8e8e062b77258b--