Re: UTF-8 context of BYTEA datatype??

From: Rafal Pietrak <rafal(at)zorro(dot)isa-geek(dot)com>
To: SCassidy(at)overlandstorage(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: UTF-8 context of BYTEA datatype??
Date: 2006-05-30 17:06:26
Message-ID: 1149008787.14902.97.camel@model.home.waw.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 2006-05-30 at 09:05 -0700, SCassidy(at)overlandstorage(dot)com wrote:
> Did you try escaping the data:
> my $rc=$sth->bind_param(1, escape_bytea($imgdata), { pg_type =>
> DBD::Pg::PG_BYTEA });

No. But:
$ ./test
Undefined subroutine &main::escape_bytea called at ./test line 34.

Where can I find one?
$ grep -Rl escape_bytea /usr/share/perl* /usr/lib/perl*
... returns nothing. Neither is listed among:
psql>\df
output.

Where should I look for it?

--
-R

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jim C. Nasby 2006-05-30 18:04:49 Re: [HACKERS] Schema Limitations ?
Previous Message Alan Hodgson 2006-05-30 16:49:18 Re: Which RPM for RH Linux ES 4? PGDB or RH?