postgresql/src/backend/access
David Rowley 77bae396df Adjust tuplesort API to have bitwise option flags
This replaces the bool flag for randomAccess.  An upcoming patch requires
adding another option, so instead of breaking the API for that, then
breaking it again one day if we add more options, let's just break it
once.  Any boolean options we add in the future will just make use of an
unused bit in the flags.

Any extensions making use of tuplesorts will need to update their code
to pass TUPLESORT_RANDOMACCESS instead of true for randomAccess.
TUPLESORT_NONE can be used for a set of empty options.

Author: David Rowley
Reviewed-by: Justin Pryzby
Discussion: https://postgr.es/m/CAApHDvoH4ASzsAOyHcxkuY01Qf%2B%2B8JJ0paw%2B03dk%2BW25tQEcNQ%40mail.gmail.com
2022-04-04 22:24:59 +12:00
..
brin Remove workarounds for avoiding [U]INT64_FORMAT in translatable strings. 2022-03-21 11:11:55 -04:00
common Add support for security invoker views. 2022-03-22 10:28:10 +00:00
gin Fix various typos, grammar and code style in comments and docs 2022-01-25 09:40:04 +09:00
gist Adjust tuplesort API to have bitwise option flags 2022-04-04 22:24:59 +12:00
hash Adjust tuplesort API to have bitwise option flags 2022-04-04 22:24:59 +12:00
heap Adjust tuplesort API to have bitwise option flags 2022-04-04 22:24:59 +12:00
index Update copyright for 2022 2022-01-07 19:04:57 -05:00
nbtree Adjust tuplesort API to have bitwise option flags 2022-04-04 22:24:59 +12:00
rmgrdesc Add new block-by-block strategy for CREATE DATABASE. 2022-03-29 11:48:36 -04:00
spgist Update copyright for 2022 2022-01-07 19:04:57 -05:00
table Update copyright for 2022 2022-01-07 19:04:57 -05:00
tablesample Update copyright for 2022 2022-01-07 19:04:57 -05:00
transam Add new block-by-block strategy for CREATE DATABASE. 2022-03-29 11:48:36 -04:00
Makefile Introduce access/{table.h, relation.h}, for generic functions from heapam.h. 2019-01-21 10:51:36 -08:00