Re: Force lookahead in COPY FROM parsing

Поиск
Список
Период
Сортировка
От John Naylor
Тема Re: Force lookahead in COPY FROM parsing
Дата
Msg-id CAFBsxsFQwDMmCcLCWuVPWX=SQvu0dtr6urPDV45sUUNVOC=MtA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Force lookahead in COPY FROM parsing  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
The cfbot thinks this patch no longer applies, but it works for me, so still set to RFC. It looks like it's because the thread to remove the v2 FE/BE protocol was still attached to the commitfest entry. I've deleted that, so let's see if that helps.

To answer the side question of whether it makes any difference in performance, I used the blackhole AM [1] to isolate the copy code path as much as possible. Forcing lookahead seems to not make a noticeable difference (min of 5 runs):

master:
306ms

force lookahead:
304ms

--

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

Предыдущее
От: David Steele
Дата:
Сообщение: Re: Reduce the time required for a database recovery from archive.
Следующее
От: David Steele
Дата:
Сообщение: Re: Implement for window functions