aqo icon indicating copy to clipboard operation
aqo copied to clipboard

How to use this extension on a Postgres using Docker ?

Open sorasful opened this issue 3 years ago • 1 comments

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 !

sorasful avatar Nov 05 '22 21:11 sorasful

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 avatar Nov 07 '22 05:11 danolivo