Re: Fetch zero result rows when executing a query?

Поиск
Список
Период
Сортировка
От Marko Tiikkaja
Тема Re: Fetch zero result rows when executing a query?
Дата
Msg-id 54D20190.7010104@joh.to
обсуждение исходный текст
Ответ на Re: Fetch zero result rows when executing a query?  ("Stephen R. van den Berg" <srb@cuci.nl>)
Ответы Re: Fetch zero result rows when executing a query?  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
On 2/4/15 12:17 PM, Stephen R. van den Berg wrote:
> 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).

I don't believe so.  If this is not about optimization, why can't the 
driver just ignore the rows from the server?


.m



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Marko Tiikkaja
Дата:
Сообщение: Re: Fetch zero result rows when executing a query?
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Fetch zero result rows when executing a query?