1

可以在 PostgreSQLContainer 中设置 max_prepared_transactions 吗?

4

1 回答 1

2

目前,我通过构建 postgres 的新 docker 映像来解决,如下所示:

FROM postgres:10 RUN sed -ri "s!^#?(max_prepared_transactions)\s*=.*!\1 = 110!" /usr/share/postgresql/postgresql.conf.sample

资源

于 2018-02-26T12:11:14.803 回答