Skip to content

Commit

Permalink
compute: build postgres with TCP_NODELAY
Browse files Browse the repository at this point in the history
  • Loading branch information
cloneable committed Dec 29, 2024
1 parent 9c53b41 commit 7e93860
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions compute/compute-node.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ FROM build-deps AS pg-build
ARG PG_VERSION
COPY vendor/postgres-${PG_VERSION} postgres
RUN cd postgres && \
export CONFIGURE_CMD="./configure CFLAGS='-O2 -g3' --enable-debug --with-openssl --with-uuid=ossp \
--with-icu --with-libxml --with-libxslt --with-lz4" && \
export CONFIGURE_CMD="./configure CFLAGS='-O2 -g3' CPPFLAGS='-DTCP_NODELAY' \
--enable-debug --with-openssl --with-uuid=ossp \
--with-icu --with-libxml --with-libxslt --with-lz4" && \
if [ "${PG_VERSION}" != "v14" ]; then \
# zstd is available only from PG15
export CONFIGURE_CMD="${CONFIGURE_CMD} --with-zstd"; \
Expand Down

0 comments on commit 7e93860

Please sign in to comment.