Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission warning accessing pg_stat_tmp/global.stat on macOS #62

Open
fantix opened this issue Aug 19, 2022 · 0 comments
Open

Permission warning accessing pg_stat_tmp/global.stat on macOS #62

fantix opened this issue Aug 19, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@fantix
Copy link
Member

fantix commented Aug 19, 2022

Start an instance on macOS with data persistence:

$ docker run --rm  -e EDGEDB_SERVER_PASSWORD=xxx   -e EDGEDB_SERVER_TLS_CERT_MODE=generate_self_signed   -v /path/to/data:/var/lib/edgedb/data edgedb/edgedb

Wait for a couple of minutes and logs will have something like this:

WARNING 164 2022-08-19T16:08:48.114 postgres: could not open statistics file "pg_stat_tmp/global.stat": Operation not permitted

This is mostly docker-library/postgres#878 and initially reported here for EdgeDB.

It would be nice if we could redefine the tmp dir to workaround this warning.

@fantix fantix added the enhancement New feature or request label Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant