X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C0C713A495F for ; Thu, 4 Nov 2004 21:03:48 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 23657-04 for ; Thu, 4 Nov 2004 21:03:45 +0000 (GMT) Received: from bayswater1.ymogen.net (host-154-240-27-217.pobox.net.uk [217.27.240.154]) by svr1.postgresql.org (Postfix) with ESMTP id 494123A4978 for ; Thu, 4 Nov 2004 21:03:47 +0000 (GMT) Received: from [82.68.132.233] (82-68-132-233.dsl.in-addr.zen.co.uk [82.68.132.233]) by bayswater1.ymogen.net (Postfix) with ESMTP id 9E08CA312C; Thu, 4 Nov 2004 21:03:46 +0000 (GMT) Message-ID: <418A98C0.9010107@ymogen.net> Date: Thu, 04 Nov 2004 21:01:52 +0000 From: Matt Clark User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-15?Q?Pierre-Fr=E9d=E9ric_Caillaud?= Cc: pgsql-performance@postgresql.org Subject: Re: Restricting Postgres References: <003301c4c29a$f052d910$8300a8c0@solent> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/61 X-Sequence-Number: 9015 > 1- You have a query that runs for half an hour and you spoon feed > the results to the client ? > (argh) > > 2- Your script looks for new data every few seconds, sends a > packet, then sleeps, and loops ? > > If it's 2 I have a readymade solution for you, just ask. > I'm guessing (2) - PG doesn't give the results of a query in a stream.