Re: encode(bytea_value, 'escape') in PostgreSQL 9.0

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Florian Weimer <fweimer(at)bfk(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: encode(bytea_value, 'escape') in PostgreSQL 9.0
Date: 2010-12-06 15:10:59
Message-ID: 26016.1291648259@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Florian Weimer <fweimer(at)bfk(dot)de> writes:
> Put differently, I think it's rather odd that in 9.0, both
> encode(bytea_value, 'escape') and encode(bytea_value, 'hex') output
> hexadecimal values.

I don't believe that; encode produces text not bytea, so its result
is not affected by this setting.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Florian Weimer 2010-12-06 15:49:05 Re: encode(bytea_value, 'escape') in PostgreSQL 9.0
Previous Message Devrim GÜNDÜZ 2010-12-06 14:29:54 Re: PostgreSQL 9.0 RPMs for RHEL 6 and Fedora 14 released