Skip site navigation (1) Skip section navigation (2)

Re: UTF-8 context of BYTEA datatype??

From: "Daniel Verite" <daniel(at)manitou-mail(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: UTF-8 context of BYTEA datatype??
Date: 2006-05-31 09:31:28
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
	Martijn van Oosterhout wrote:

> However, there is a solution: send the paramters seperate from the
> query. In fact, postgres has been able to do that for a while now but
> not all interfaces have been made to use it. My guess is that those
> other databases you've used were already doing this so didn't see the
> issue. I don't know if DBD:Pg does this though, maybe it needs to be
> triggered somehow.

Actually, this is the case already. When a parameter is explicitly
typed as bytea, then libpq's PQexecPrepared is used and the binary
contents are passed outside of the query.

 PostgreSQL-powered mail user agent and storage:

In response to


pgsql-general by date

Next:From: Arnaud LesauvageDate: 2006-05-31 09:39:22
Subject: Re: Best high availability solution ?
Previous:From: Nis JorgensenDate: 2006-05-31 09:17:48
Subject: Re: Lossy character conversion to Latin-1

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group