Re: Get bytes sent to client

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Get bytes sent to client
Дата
Msg-id 4B2B366C.7010304@postnewspapers.com.au
обсуждение исходный текст
Ответ на Re: Get bytes sent to client  (Alexander Pyhalov <alp@rsu.ru>)
Ответы Re: Get bytes sent to client  (Alexander Pyhalov <alp@rsu.ru>)
Re: Get bytes sent to client  (Alexander Pyhalov <alp@rsu.ru>)
Список pgsql-jdbc
On 18/12/2009 2:34 PM, Alexander Pyhalov wrote:
>
> I've made patch for Postgres JDBC driver. Now driver accounts bytes
> sent/received from client ing PGStream.

Can't you extend or wrap the pg_input / pg_output streams to do the
accounting in their read(...) / write(...) method instead? The way
you've done it is rather fragile and is very prone to bitrot as other
parts of the driver are changed.

--
Craig Ringer

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

Предыдущее
От: Alexander Pyhalov
Дата:
Сообщение: Re: Get bytes sent to client
Следующее
От: Alexander Pyhalov
Дата:
Сообщение: Re: Get bytes sent to client