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

How to use this extension on a Postgres using Docker ? #93

Open
sorasful opened this issue Nov 5, 2022 · 1 comment
Open

How to use this extension on a Postgres using Docker ? #93

sorasful opened this issue Nov 5, 2022 · 1 comment
Assignees

Comments

@sorasful
Copy link

sorasful commented Nov 5, 2022

Hello there ! First, thanks for creating this repository, it looks very promising and I can't wait to test it out.

I have some trouble understanding the steps to get going, especially when using Postgres in a Docker container. So I have some questions :

For now I'm using an official image (postgres:13.4-buster), is it possible to install the extension in the container ? Or do I need to create my own Dockerfile which builds from the official image but has some additional steps ?

If so, what are the steps required ? I'm sure i'm not the only one using Postgres in Docker, maybe it could be a good idea to put it in the README ? What do you think ?

Thanks !

@danolivo
Copy link
Collaborator

danolivo commented Nov 7, 2022

This extension needs some additional hooks in the PG Core, so you can apply a patch. For PG13 you should use the stable13 branch and patch file named "aqo_pg13.patch".
Because of that, you should create your personal container.
Maybe you are right - it make sense to maintain prepared container for some test/demo cases.

@danolivo danolivo self-assigned this Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants