Re: UTF-8 context of BYTEA datatype??

Поиск
Список
Период
Сортировка
От Daniel Verite
Тема Re: UTF-8 context of BYTEA datatype??
Дата
Msg-id 20060531113153.5340760@crocodudule.admin.clubint.net
обсуждение исходный текст
Ответ на Re: UTF-8 context of BYTEA datatype??  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: UTF-8 context of BYTEA datatype??  (Martijn van Oosterhout <kleptog@svana.org>)
Список 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.

--
 Daniel
 PostgreSQL-powered mail user agent and storage: http://www.manitou-mail.org


В списке pgsql-general по дате отправления:

Предыдущее
От: "Ets ROLLAND"
Дата:
Сообщение: Re: SCSI disk: still the way to go?
Следующее
От: Arnaud Lesauvage
Дата:
Сообщение: Re: Best high availability solution ?