Re: Fetch zero result rows when executing a query? - Mailing list pgsql-hackers

From Stephen R. van den Berg
Subject Re: Fetch zero result rows when executing a query?
Date
Msg-id 20150204111723.GC25788@cuci.nl
Whole thread Raw
In response to Re: Fetch zero result rows when executing a query?  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: Fetch zero result rows when executing a query?  (Andres Freund <andres@2ndquadrant.com>)
Re: Fetch zero result rows when executing a query?  (Marko Tiikkaja <marko@joh.to>)
List pgsql-hackers
Andres Freund wrote:
>On 2015-02-03 12:26:33 +0100, Shay Rojansky wrote:
>> find a way to execute a query but without fetching any rows. The Execute
>> message has a maximum result-row count, but zero is documented to mean
>> "fetch all rows".

>Is this really a relevant optimization? If the user doesn't want

I believe he's talking about the network protocol of postgreSQL, not
about query optimisation (as you do).
-- 
Stephen.



pgsql-hackers by date:

Previous
From: "Stephen R. van den Berg"
Date:
Subject: Re: Fetch zero result rows when executing a query?
Next
From: Andres Freund
Date:
Subject: Re: Fetch zero result rows when executing a query?