Skip to content

Conversation

tianon
Copy link
Member

@tianon tianon commented Sep 30, 2025

This is a bit complicated to use in Docker (because io_uring has a long and storied security story), but it is a new feature of 18+ that we should probably explicitly support for users who want to jump through the hoops to use it despite the security risk.

Additionally, this re-alphabetizes our --with-xxx flags.

@yosifkit
Copy link
Member

Can we update the comment while we are here? 🙈

# configure options taken from:
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5

zstd-dev \
{{ ) else "" end -}}
{{ if .major >= 18 then ( -}}
# https://www.postgresql.org/docs/18/install-make.html#CONFIGURE-OPTION-WITH-LIBURING
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't just add configure flags because they exist. Can we also link the Debian change for justification? https://salsa.debian.org/postgresql/postgresql-common/-/commit/89c384273f4c4092483598c292b1b1b188816cce

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pfffft

(yes, good point, will update)

This is a bit complicated to use in Docker (because `io_uring` has a long and storied security story), but it is a new feature of 18+ that we should probably explicitly support for users who want to jump through the hoops to use it despite the security risk.

Additionally, this re-alphabetizes our `--with-xxx` flags.
@tianon tianon merged commit 06388fc into docker-library:master Sep 30, 2025
38 checks passed
@tianon tianon deleted the liburing branch September 30, 2025 19:54
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Sep 30, 2025
Changes:

- docker-library/postgres@06388fc: Merge pull request docker-library/postgres#1366 from infosiftr/liburing
- docker-library/postgres@2c75134: Add liburing support to 18+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants