Re: Sorting performance vs. MySQL

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Sorting performance vs. MySQL
Дата
Msg-id 407d949e1002230217u43d55ccg9e07f0014532da44@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Sorting performance vs. MySQL  (Yeb Havinga <yebhavinga@gmail.com>)
Список pgsql-general
On Tue, Feb 23, 2010 at 9:48 AM, Yeb Havinga <yebhavinga@gmail.com> wrote:
> Greg Stark wrote:
>>
>> You can do \set FETCH_COUNT to have psql use a cursor automatically.
>>
>
> It seems like a big win in this case. What would be the downside of having a
> fetch_count set default in psql?

They were mentioned previously in this thread:

1) If an error occurs partway through the execution of the query you
might receive part of the result set.

2) psql won't be able to align the columns properly

--
greg

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

Предыдущее
От: Carsten Kropf
Дата:
Сообщение: Implementing an Index Access Method in PG 8.4
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Implementing an Index Access Method in PG 8.4