rum icon indicating copy to clipboard operation
rum copied to clipboard

Build failed with Postgres 17

Open shuaitian-git opened this issue 9 months ago • 3 comments

Need to refactor the code towards PG17

Error message:

src/rumsort.c: In function ‘rum_tuplesort_putrum’: src/rumsort.c:496:9: error: too few arguments to function ‘tuplesort_puttuple_common’ 496 | tuplesort_puttuple_common(state, &stup, false); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/postgresql/17/include/server/nodes/execnodes.h:49, from /usr/lib/postgresql/17/include/server/executor/execdesc.h:18, from /usr/lib/postgresql/17/include/server/executor/executor.h:17, from src/rumsort.c:23: /usr/lib/postgresql/17/include/server/utils/tuplesort.h:379:13: note: declared here 379 | extern void tuplesort_puttuple_common(Tuplesortstate *state, | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/rumsort.c: In function ‘rum_tuplesort_putrumitem’: src/rumsort.c:514:9: error: too few arguments to function ‘tuplesort_puttuple_common’ 514 | tuplesort_puttuple_common(state, &stup, false); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/postgresql/17/include/server/nodes/execnodes.h:49, from /usr/lib/postgresql/17/include/server/executor/execdesc.h:18, from /usr/lib/postgresql/17/include/server/executor/executor.h:17, from src/rumsort.c:23: /usr/lib/postgresql/17/include/server/utils/tuplesort.h:379:13: note: declared here 379 | extern void tuplesort_puttuple_common(Tuplesortstate *state, | ^~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [: src/rumsort.o] Error 1 Error on or near line 44: x; exiting with status 1 Error: Process completed with exit code 1.

shuaitian-git avatar Feb 26 '25 06:02 shuaitian-git

Hi! RUM was updated to 17 PostgreSQL in commit cb1edffc5773 Please, use tag 1.3.14 (or source code from master branch)

sokolcati avatar Feb 26 '25 09:02 sokolcati

thanks, problem solved after updating to 1.3.14, could you create a new release for it?

shuaitian-git avatar Feb 26 '25 10:02 shuaitian-git

It's not problem. But I'm curious - why is a release preferred over a tag?

sokolcati avatar Feb 28 '25 11:02 sokolcati