Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iJHRg-00021b-12 for pgsql-general@arkaria.postgresql.org; Sat, 12 Oct 2019 13:28:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iJHQg-00020E-I1 for pgsql-general@arkaria.postgresql.org; Sat, 12 Oct 2019 13:27:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iJHQg-0001zs-7N for pgsql-general@lists.postgresql.org; Sat, 12 Oct 2019 13:27:30 +0000 Received: from smtp.burggraben.net ([2a01:4f8:140:50a2::3:1]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iJHQa-0001fy-FS for pgsql-general@lists.postgresql.org; Sat, 12 Oct 2019 13:27:29 +0000 Received: from localhost (localhost [127.0.0.1]) by smtp.burggraben.net (Postfix) with ESMTP id 899F6600301; Sat, 12 Oct 2019 15:27:23 +0200 (CEST) X-Spam-Scanned: by amavisd-new at exwg.net Received: from smtp.burggraben.net ([127.0.0.1]) by localhost (ns.burggraben.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uw974RTl2qrW; Sat, 12 Oct 2019 15:27:14 +0200 (CEST) Received: from elch.exwg.net (elch.exwg.net [IPv6:2001:470:7120:1:127b:44ff:fe4f:148d]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "elch.exwg.net", Issuer "Christoph Moench-Tegeder" (verified OK)) by smtp.burggraben.net (Postfix) with ESMTPS; Sat, 12 Oct 2019 15:27:14 +0200 (CEST) Received: by elch.exwg.net (Postfix, from userid 1000) id CDBFB1399FC; Sat, 12 Oct 2019 15:27:13 +0200 (CEST) Date: Sat, 12 Oct 2019 15:27:13 +0200 From: Christoph Moench-Tegeder To: Matthias Apitz Cc: Francisco Olarte , "pgsql-generallists.postgresql.org" Subject: Re: SELECT d02name::bytea FROM ... && DBI::Pg Message-ID: <20191012132713.GB2452@elch.exwg.net> References: <20191010112458.GA271079@sh4-5.1blu.de> <20191010172628.GA3951@c720-r342378> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20191010172628.GA3951@c720-r342378> User-Agent: Mutt/1.12.2 (2019-09-21) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ## Matthias Apitz (guru@unixarea.de): > Hmm. But *I* do need the content in hex to see if the varchar column > contains correct encoded UTF-8 data. select 'Hello'::bytea::text; Regards, Christoph -- Spare Space