postgresql/src
Tomas Vondra 6c63bcbf3c Minor cleanup of the BRIN parallel build code
Commit b437571714 added support for parallel builds for BRIN indexes,
using code similar to BTREE parallel builds, and also a new tuplesort
variant. This commit simplifies the new code in two ways:

* The "spool" grouping tuplesort and the heap/index is not necessary.
  The heap/index are available as separate arguments, causing confusion.
  So remove the spool, and use the tuplesort directly.

* The new tuplesort variant does not need the heap/index, as it sorts
  simply by the range block number, without accessing the tuple data.
  So simplify that too.

Initial report and patch by Ranier Vilela, further cleanup by me.

Author: Ranier Vilela
Discussion: https://postgr.es/m/CAEudQAqD7f2i4iyEaAz-5o-bf6zXVX-AkNUBm-YjUXEemaEh6A%40mail.gmail.com
2023-12-30 23:15:04 +01:00
..
backend Minor cleanup of the BRIN parallel build code 2023-12-30 23:15:04 +01:00
bin Make all Perl warnings fatal 2023-12-29 18:20:00 +01:00
common Make all Perl warnings fatal 2023-12-29 18:20:00 +01:00
fe_utils Remove unneeded assignments in for loop header 2023-11-21 16:10:27 +01:00
include Minor cleanup of the BRIN parallel build code 2023-12-30 23:15:04 +01:00
interfaces Follow-up fixes for "Make all Perl warnings fatal" 2023-12-29 23:54:40 +01:00
makefiles Remove distprep 2023-11-06 15:18:04 +01:00
pl Make all Perl warnings fatal 2023-12-29 18:20:00 +01:00
port Remove MSVC scripts 2023-12-20 09:44:37 +09:00
template Use unnamed POSIX semaphores on Cygwin. 2023-01-06 10:33:28 +13:00
test Follow-up fixes for "Make all Perl warnings fatal" 2023-12-29 23:54:40 +01:00
timezone Remove distprep 2023-11-06 15:18:04 +01:00
tools Minor cleanup of the BRIN parallel build code 2023-12-30 23:15:04 +01:00
tutorial Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in Initialize data directories with --lc-messages=C for tests. 2023-12-21 15:10:13 -08:00
Makefile.shlib Stop using "-multiply_defined suppress" on macOS. 2023-09-26 21:06:21 -04:00
meson.build Integrate pg_bsd_indent into our build/test infrastructure. 2023-02-12 12:22:21 -05:00
nls-global.mk Remove distprep 2023-11-06 15:18:04 +01:00