pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Pyhalov <alp@rsu.ru>
To: Craig Ringer <craig@postnewspapers.com.au>
Cc: dmp <danap@ttc-cmc.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Get bytes sent to client
Date: Fri, 18 Dec 2009 12:59:23 +0300
Message-ID: <4B2B527B.7080408@rsu.ru> (raw)
In-Reply-To: <4B2B366C.7010304@postnewspapers.com.au>
References: <4B2894E7.80407@rsu.ru>
	<4B28A86A.3060506@rsu.ru>
	<4B290928.5080004@ttc-cmc.net>
	<4B291141.90503@rsu.ru>
	<4B29D2A3.6050504@postnewspapers.com.au>
	<4B2B228C.8070008@rsu.ru>
	<4B2B366C.7010304@postnewspapers.com.au>

I'll look at this in the weekend an report later...
Craig Ringer wrote:
> 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.


-- 
Best regards,
Alexander Pyhalov,
system administrator of Computer Center of South Federal University



view thread (10+ messages)  latest in thread

Message-ID: <4B2B527B.7080408@rsu.ru>
Permalink:  ../4B2B527B.7080408@rsu.ru/
Also on:    postgresql.org/message-id/4B2B527B.7080408@rsu.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: alp@rsu.ru, craig@postnewspapers.com.au, danap@ttc-cmc.net
  Subject: Re: Get bytes sent to client
  In-Reply-To: <4B2B527B.7080408@rsu.ru>
  References: <4B2894E7.80407@rsu.ru> <4B28A86A.3060506@rsu.ru> <4B290928.5080004@ttc-cmc.net> <4B291141.90503@rsu.ru> <4B29D2A3.6050504@postnewspapers.com.au> <4B2B228C.8070008@rsu.ru> <4B2B366C.7010304@postnewspapers.com.au> <4B2B527B.7080408@rsu.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox