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 1tWlnB-001VJb-F9 for pgsql-general@arkaria.postgresql.org; Sun, 12 Jan 2025 00:25:25 +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 1tWlnA-00E3LY-9M for pgsql-general@arkaria.postgresql.org; Sun, 12 Jan 2025 00:25:23 +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 1tWln9-00E3LP-Uu for pgsql-general@lists.postgresql.org; Sun, 12 Jan 2025 00:25:23 +0000 Received: from fhigh-b4-smtp.messagingengine.com ([202.12.124.155]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tWln6-0019RN-1R for pgsql-general@lists.postgresql.org; Sun, 12 Jan 2025 00:25:23 +0000 Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfhigh.stl.internal (Postfix) with ESMTP id 4991A25400F5; Sat, 11 Jan 2025 19:25:19 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-10.internal (MEProxy); Sat, 11 Jan 2025 19:25:19 -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=1736641519; x=1736727919; bh=m0tdi3jTHgld+p1h/cSiCm8RN/5vRfuuzt76knKimW4=; b= I+ZAX46wnq0HuXQVhXIGrciO+uKTiU57EujzKoSHg+vugip+rHjJYzgE0TTmCBq+ FTSSA1Vb9sJNHU62JzXsD47Yc9brqA0YWIu+KEks9m5aGWOKhCut8iBxnpEN3k7N mC/b1U2hFN21x8T5yWLDKvw8y6EJEA9SAadVrun+l6vUzzdBDvHGAY4gBkYjKRNE ZClGIdo5RIKZJ/wViOoK9EMJIFsovyFLY8wPX1PhY+paox0WVEa+02h4hignSQpd ZpdHoprqlwS9YkPmlS8PYze6MQUWE6yhj1WmL1vY9tD3rMOvWrknBlFDhXHYn4EC egeuDoFapY24X8Q55X++og== 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=1736641519; x= 1736727919; bh=m0tdi3jTHgld+p1h/cSiCm8RN/5vRfuuzt76knKimW4=; b=h pt35fDfugHC/pdtQfv7Hl776qJ9uaX1oY43ios9S1kSItwml0NYUHdWT0Y85/eOk vR8gLIMHhy+0pw4wsd4hQzKFKj6nhBZ6W7q0IbFGD/ZD5f8mTCo2D/BHSYwNh3Jb wPU/CiU3SXTHj29sX6LJw0JpqlIB6QJgUSwyifLB+D2YD5FHfoqZiDmEO6FO7cQF n+9sPpu8V2Em3LEzBt4/gzkCo9M9Ol/ce4JHbXFYnBhyxCnBPxO2SEJF4985IzS7 J9JPm7XFWjmL7UK1JuYX44lM07RSbncX5Mzi1lNCCG4s6WZr7fWOn5tkliFFrID6 lfLbbWxx00xZ218GOWmug== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudehuddgvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdej necuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrh esrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepgfdufeekhfevfeelveei ueevhedvuddukeduvddvlefhueeuieejtdeuvdevvdeunecuffhomhgrihhnpehpohhsth 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:25:17 -0500 (EST) Message-ID: Date: Sat, 11 Jan 2025 16:25:17 -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: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 1/11/25 16:09, Andy Hartman wrote: > In mssql its a image datatype. Oops, I was referring to the wrong database(MySQL) in previous posts. So: Show command used to pull data from MS SQL Server. > > On Sat, Jan 11, 2025 at 7:08 PM 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 > -- Adrian Klaver adrian.klaver@aklaver.com