Skip to content

Is it possible to use the io_method = io_uring with postgres-18.0? #1365

@DJJ88

Description

@DJJ88

Hello, I would like to try out the asynchronous I/O in PostgreSQL 18, by using the postgres-18 container however when I set up the parameter

io_method = io_uring # worker, io_uring, sync

and launch the following error

postgres18  | 2025-09-30 15:05:28 CEST [52]: user=,db=,app=,client=LOG:  invalid value for parameter "io_method": "io_uring"
postgres18  | 2025-09-30 15:05:28 CEST [52]: user=,db=,app=,client=HINT:  Available values: sync, worker.
postgres18  | 2025-09-30 15:05:28 CEST [52]: user=,db=,app=,client=FATAL:  configuration file "/etc/postgresql/postgresql.conf" contains errors

I even tried setting seccomp=unconfined but got the same results as above

services:
  postgres:
    container_name: postgres18
    image: postgres:18.0-alpine3.22
    # restart: unless-stopped
    security_opt:
      - seccomp=unconfined

the docker version i'm currently using is Docker version 28.0.4, build b8034c0 . Has anyone experienced similar issues? Do you have a solution to this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions