Re: Commit Fest (was Re: Sort Refinement)

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Commit Fest (was Re: Sort Refinement)
Дата
Msg-id 47E405EF.7040502@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Commit Fest (was Re: Sort Refinement)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Commit Fest (was Re: Sort Refinement)  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>> There is your CopyReadLineText speedup, but I think there are too many 
>> open questions on it, e.g.:
>> ...
>> So I suggest we take it out of the queue for now and kick it back to you.
> 
> Per my comments just now, the question is whether it's been adequately
> reviewed or still needs some attention from the community.  If we think
> the ball's entirely in Heikki's court on it, then we're done with it
> until he comes back with a new version (or evidence showing it's good
> as-is).

I'm not expecting any more review in this commit fest.

My plan is to try special-casing the usual case of text-mode in a non 
ASCII-embedding encoding (one that can be used as server encoding), by 
using memchr() to find end of line first, and then scanning back from 
there to count preceding backslashes. That requires some refactoring, 
but should avoid the performance penalty when there's plenty of backslashes.

Of course, if anyeone has better ideas, please speak up!

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: "Gokulakannan Somasundaram"
Дата:
Сообщение: Re: Proposal for Null Bitmap Optimization(for Trailing NULLs)
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Commit Fest (was Re: Sort Refinement)