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

On startup SQL file #1028

Open
papaymaguire opened this issue Sep 23, 2024 · 0 comments
Open

On startup SQL file #1028

papaymaguire opened this issue Sep 23, 2024 · 0 comments

Comments

@papaymaguire
Copy link

Hi,

Great project by the way, love it so far. I am installing an additional extension into the Spilo container, Apache AGE, which lets Postgres act as a GraphDB.

The installation was quite easy as I just built on the existing Spilo image and copied over the extension files from the Apache image. Now however, I need to create and load the extension.
image
These are the post-installation instructions from the AGE website, but I'd prefer to not do CREATE EXTENSION and LOAD everytime a service connects to the database. Is there a place I can put a SQL file in the container that on startup will run to create and load the extension for me?

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant