pgsql: Eliminate some repetitive coding in tuplesort.c.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Eliminate some repetitive coding in tuplesort.c.
Дата
Msg-id E1P40t8-0005fB-Ab@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Eliminate some repetitive coding in tuplesort.c.

Use a macro LogicalTapeReadExact() to encapsulate the error check when
we want to read an exact number of bytes from a "tape".  Per a suggestion
of Takahiro Itagaki.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=26a7b48e10bea67be719f5bb88cbaa8d4ec1c9b3

Modified Files
--------------
src/backend/utils/sort/tuplesort.c |   69 ++++++++++++++++-------------------
1 files changed, 32 insertions(+), 37 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Teach CLUSTER to use seqscan-and-sort when it's faster than inde
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Improve logging in VACUUM FULL VERBOSE and CLUSTER VERBOSE.