@@ -310,6 +310,28 @@ RUN tar -xvf /tmp/timescaledb.tar.gz -C /tmp && \
310
310
# Build from source
311
311
WORKDIR /tmp/timescaledb-${timescaledb_release}/build
312
312
RUN cmake -DAPACHE_ONLY=1 ..
313
+ # error: too few arguments to function ‘table_multi_insert’
314
+ RUN sed -i \
315
+ -e "358s|^| bool *insert_indexes = NULL;|g" \
316
+ -e "364s|);|, insert_indexes);|g" \
317
+ -e "930s|^| bool *insert_indexes = NULL;|g" \
318
+ -e "1115s|);|, insert_indexes);|g" \
319
+ -e "1134s|);|, insert_indexes);|g" \
320
+ ../src/copy.c
321
+ # error: static declaration of ‘replace_nestloop_params’ follows non-static declaration
322
+ RUN sed -i \
323
+ -e "48s|static ||g" \
324
+ -e "943s|static ||g" \
325
+ ../src/import/planner.c
326
+ # error: too few arguments to function ‘table_tuple_insert’
327
+ RUN sed -i \
328
+ -e "1672s|*/|*/ bool *insert_indexes = NULL;|g" \
329
+ -e "1673s|);|, insert_indexes);|g" \
330
+ -e "1971s|*/|*/ bool *insert_indexes = NULL;|g" \
331
+ -e "1981s|);|, insert_indexes);|g" \
332
+ -e "2559s|}|} bool *insert_indexes = NULL;|g" \
333
+ -e "2567s|);|, insert_indexes);|g" \
334
+ ../src/nodes/hypertable_modify.c
313
335
RUN --mount=type=cache,target=/ccache,from=public.ecr.aws/supabase/postgres:ccache \
314
336
make -j$(nproc)
315
337
# Create debian package
@@ -777,7 +799,7 @@ COPY --from=pgjwt-source /tmp/*.deb /tmp/
777
799
COPY --from=pgsql-http-source /tmp/*.deb /tmp/
778
800
COPY --from=plpgsql_check-source /tmp/*.deb /tmp/
779
801
COPY --from=pg-safeupdate-source /tmp/*.deb /tmp/
780
- # COPY --from=timescaledb-source /tmp/*.deb /tmp/
802
+ COPY --from=timescaledb-source /tmp/*.deb /tmp/
781
803
COPY --from=wal2json-source /tmp/*.deb /tmp/
782
804
# COPY --from=pljava /tmp/*.deb /tmp/
783
805
COPY --from=plv8 /tmp/*.deb /tmp/
0 commit comments