Skip to content

Commit 577ec19

Browse files
committed
fix: remove unnecessary timescaledb patches
1 parent d33eae1 commit 577ec19

File tree

1 file changed

+4
-20
lines changed

1 file changed

+4
-20
lines changed

docker/orioledb/Dockerfile

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -321,27 +321,11 @@ RUN tar -xvf /tmp/timescaledb.tar.gz -C /tmp && \
321321
# Build from source
322322
WORKDIR /tmp/timescaledb-${timescaledb_release}/build
323323
RUN cmake -DAPACHE_ONLY=1 ..
324-
# error: too few arguments to function ‘table_multi_insert’
324+
# error: too few arguments to function ‘table_tuple_update’
325+
# error: too few arguments to function ‘table_tuple_delete’
325326
RUN sed -i \
326-
-e "358s|^| bool *insert_indexes = NULL;|g" \
327-
-e "364s|);|, insert_indexes);|g" \
328-
-e "930s|^| bool *insert_indexes = NULL;|g" \
329-
-e "1115s|);|, insert_indexes);|g" \
330-
-e "1134s|);|, insert_indexes);|g" \
331-
../src/copy.c
332-
# error: static declaration of ‘replace_nestloop_params’ follows non-static declaration
333-
RUN sed -i \
334-
-e "48s|static ||g" \
335-
-e "943s|static ||g" \
336-
../src/import/planner.c
337-
# error: too few arguments to function ‘table_tuple_insert’
338-
RUN sed -i \
339-
-e "1672s|*/|*/ bool *insert_indexes = NULL;|g" \
340-
-e "1673s|);|, insert_indexes);|g" \
341-
-e "1971s|*/|*/ bool *insert_indexes = NULL;|g" \
342-
-e "1981s|);|, insert_indexes);|g" \
343-
-e "2559s|}|} bool *insert_indexes = NULL;|g" \
344-
-e "2567s|);|, insert_indexes);|g" \
327+
-e "1981s|);|, NULL);|g" \
328+
-e "2567s|);|, NULL);|g" \
345329
../src/nodes/hypertable_modify.c
346330
RUN --mount=type=cache,target=/ccache,from=public.ecr.aws/supabase/postgres:ccache \
347331
make -j$(nproc)

0 commit comments

Comments
 (0)