Re: text and bytea

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "hernan gonzalez" <hgonzalez(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: text and bytea
Date: 2008-02-25 19:12:03
Message-ID: 1065.1203966723@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"hernan gonzalez" <hgonzalez(at)gmail(dot)com> writes:
> The objetionable ones IMHO are decode()/encode(), which can
> consume/produce a "non-utf8 string" (I mean, not the backend encoding)

Huh? Those deal with bytea too --- in fact, they've got nothing at
all to do with multibyte character representations. They're for
handling hex and base64 and suchlike representations of binary data.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-02-25 19:17:33 Re: text and bytea
Previous Message Alvaro Herrera 2008-02-25 18:27:13 Re: autovacuum not freeing up unused space on 8.3.0