Patch for ginCombineData

Поиск
Список
Период
Сортировка
От Robert Abraham
Тема Patch for ginCombineData
Дата
Msg-id CABQqHAWYXW+NzAYw4uG_FnbjrdEFyRaigLRkQ7AzAtS6AbHnfA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Patch for ginCombineData  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
Re: Patch for ginCombineData  (Robert Haas <robertmhaas@gmail.com>)
Re: Patch for ginCombineData  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-hackers
Hello,

we are using gin indexes on big tables. these tables happen to have several billion rows.
the index creation fails in ginCombineData in src/backend/access/ginbulk.c because repalloc is limited to 1 gb.
this limitation makes no sense in this context (compare comments in src/include/utils/memutils.h).
To overcome this limitation on tables with lots of rows repalloc_huge is used.
The test suite still succeeds on my machine.
Find the patch attached,

Kind regards,

Robert Abraham
Вложения

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

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: ON CONFLICT DO UPDATE using EXCLUDED.column gives an error about mismatched types
Следующее
От: "Stepan Rutz"
Дата:
Сообщение: Add column-name hint to log messages generated by inserts when varchars don't fit