Skip to content

Commit

Permalink
fix: remove unnecessary timescaledb patches
Browse files Browse the repository at this point in the history
  • Loading branch information
sweatybridge committed Dec 7, 2023
1 parent edd655f commit 655782c
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions docker/orioledb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -321,27 +321,11 @@ RUN tar -xvf /tmp/timescaledb.tar.gz -C /tmp && \
# Build from source
WORKDIR /tmp/timescaledb-${timescaledb_release}/build
RUN cmake -DAPACHE_ONLY=1 ..
# error: too few arguments to function ‘table_multi_insert’
# error: too few arguments to function ‘table_tuple_update’
# error: too few arguments to function ‘table_tuple_delete’
RUN sed -i \
-e "358s|^| bool *insert_indexes = NULL;|g" \
-e "364s|);|, insert_indexes);|g" \
-e "930s|^| bool *insert_indexes = NULL;|g" \
-e "1115s|);|, insert_indexes);|g" \
-e "1134s|);|, insert_indexes);|g" \
../src/copy.c
# error: static declaration of ‘replace_nestloop_params’ follows non-static declaration
RUN sed -i \
-e "48s|static ||g" \
-e "943s|static ||g" \
../src/import/planner.c
# error: too few arguments to function ‘table_tuple_insert’
RUN sed -i \
-e "1672s|*/|*/ bool *insert_indexes = NULL;|g" \
-e "1673s|);|, insert_indexes);|g" \
-e "1971s|*/|*/ bool *insert_indexes = NULL;|g" \
-e "1981s|);|, insert_indexes);|g" \
-e "2559s|}|} bool *insert_indexes = NULL;|g" \
-e "2567s|);|, insert_indexes);|g" \
-e "1981s|);|, NULL);|g" \
-e "2567s|);|, NULL);|g" \
../src/nodes/hypertable_modify.c
RUN --mount=type=cache,target=/ccache,from=public.ecr.aws/supabase/postgres:ccache \
make -j$(nproc)
Expand Down

0 comments on commit 655782c

Please sign in to comment.