pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Moench-Tegeder <cmt@burggraben.net>
To: Matthias Apitz <guru@unixarea.de>
Cc: Francisco Olarte <folarte@peoplecall.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: SELECT d02name::bytea FROM ... && DBI::Pg
Date: Sat, 12 Oct 2019 15:27:13 +0200
Message-ID: <20191012132713.GB2452@elch.exwg.net> (raw)
In-Reply-To: <20191010172628.GA3951@c720-r342378>
References: <20191010112458.GA271079@sh4-5.1blu.de>
	<CA+bJJbx2q0ZrnC2NmF1uaGMfJ8HBfBh08cW4JH1wEV-ZDYvnPw@mail.gmail.com>
	<20191010172628.GA3951@c720-r342378>

## 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





view thread (6+ messages)  latest in thread

Message-ID: <20191012132713.GB2452@elch.exwg.net>
Permalink:  ../20191012132713.GB2452@elch.exwg.net/
Also on:    postgresql.org/message-id/20191012132713.GB2452@elch.exwg.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: cmt@burggraben.net, guru@unixarea.de, folarte@peoplecall.com
  Subject: Re: SELECT d02name::bytea FROM ... && DBI::Pg
  In-Reply-To: <20191012132713.GB2452@elch.exwg.net>
  References: <20191010112458.GA271079@sh4-5.1blu.de> <CA+bJJbx2q0ZrnC2NmF1uaGMfJ8HBfBh08cW4JH1wEV-ZDYvnPw@mail.gmail.com> <20191010172628.GA3951@c720-r342378> <20191012132713.GB2452@elch.exwg.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox