Re: streaming access to bytea data

Поиск
Список
Период
Сортировка
От David Durham
Тема Re: streaming access to bytea data
Дата
Msg-id 441B53DE.50909@vailsys.com
обсуждение исходный текст
Ответ на Re: streaming access to bytea data  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
Kris Jurka wrote:
> On Fri, 17 Mar 2006, David Durham wrote:
>
>> 1 - Does Postgres server load the entire bytea column before sending
>> to clients?
>
> Yes.

ok

> The JDBC driver doesn't support streaming reads, nor does any other
> client interface.  You would need to extend the frontend/backend
> protocol to return some sort of pointer to the bytea reference rather
> than the whole thing.  This will still require the server to store the
> whole bytea result somewhere to allow it to be pointed to.
>
> Perhaps you should think about using large objects instead of bytea?

Thanks for the quick response, and the exact information that I needed.
  Unfortunately large objects don't work with Slony replication.

Thanks again,

Dave

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: streaming access to bytea data
Следующее
От: "Andrew Madu"
Дата:
Сообщение: HowTo change keyStore location and KeyStore Password