Re: [HACKERS] Slow count(*) again...
Andrew Dunstan <andrew@dunslane.net>
From: Andrew Dunstan <andrew@dunslane.net>
To: david@lang.hm
Cc: Віталій Тимчишин <tivv00@gmail.com>, Robert Haas <robertmhaas@gmail.com>, Jon Nelson <jnelson+pgsql@jamponi.net>, Mladen Gogala <mladen.gogala@vmsinfo.com>, Bruce Momjian <bruce@momjian.us>, Tom Lane <tgl@sss.pgh.pa.us>, Craig Ringer <craig@postnewspapers.com.au>, "pgsql-performance@postgresql.org" <pgsql-performance@postgresql.org>
Date: 2011-02-04T07:59:06Z
Lists: pgsql-hackers, pgsql-performance
On 02/04/2011 02:32 AM, david@lang.hm wrote: > > when a copy command is issued, I assume that there is some indication > of how much data is going to follow. > > No of course there isn't. How would we do that with a stream like STDIN? Read the code. cheers andrew