Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 8CC859FB776 for ; Fri, 25 May 2007 21:20:37 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 25679-03 for ; Fri, 25 May 2007 21:20:35 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id B8FCC9FB770 for ; Fri, 25 May 2007 21:20:34 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l4Q0JDSa028400; Fri, 25 May 2007 20:19:14 -0400 (EDT) To: ptb@inv.it.uc3m.es cc: "Richard Huxton" , pgsql-performance@postgresql.org Subject: Re: general PG network slowness (possible cure) (repost) In-reply-to: <200705252224.l4PMOd720862@inv.it.uc3m.es> References: <200705252224.l4PMOd720862@inv.it.uc3m.es> Comments: In-reply-to "Peter T. Breuer" message dated "Sat, 26 May 2007 00:24:39 +0200" Date: Fri, 25 May 2007 20:19:13 -0400 Message-ID: <28399.1180138753@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/547 X-Sequence-Number: 24937 "Peter T. Breuer" writes: > But can I prepare a DECLARE x BINARY CURSOR FOR SELECT ... statement? > The manual seems to say no. No, you just prepare the SELECT. At the protocol level, DECLARE CURSOR is a tad useless. You can still fetch the data in binary if you want... regards, tom lane