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

building an embedded binary with postgis - for Mac #6

Open
gushpanka opened this issue Aug 8, 2019 · 6 comments
Open

building an embedded binary with postgis - for Mac #6

gushpanka opened this issue Aug 8, 2019 · 6 comments

Comments

@gushpanka
Copy link

Hi,

Wanted to ask whether you are planning to release binaries of embedded postgres with postgis extension? (following this PR)

I have tried to build it manually following the instructions on the project's README, however encountered an error I couldn't resolve.
Only then I noticed you mention on the README that "this option is not (yet) available for Windows and Mac OS platforms" - which probably explained why my manual build failed on my mac.

I really want to use your great embedded postgres library for my projects JUnit tests, however my projects rely heavily on postgis, and without having a proper binary I won't be able to utilize it :(

Can you assist/guide me how to solve it?

Thanks in advance!

@tomix26
Copy link
Collaborator

tomix26 commented Aug 16, 2019

Hi, yes, I do plan it.

But this project is only a supporting project for the primary io.zonky.test:embedded-database-spring-test and there is a lot of other tasks with a higher priority. So it may take a long time to begin implementing this task. But If you want to contribute, help is welcome.

If you don't mind using Docker, you can also consider using Testcontainers as an alternative.

@tomix26 tomix26 closed this as completed Jun 15, 2020
@tomix26 tomix26 reopened this Jun 15, 2020
@ehsanonline
Copy link

Please consider supporting Graph extension too.

@tomix26
Copy link
Collaborator

tomix26 commented Mar 26, 2021

@ehsanonline It is not possible to include all extensions to this project. So if this task is implemented, it will probably be included only support for postgis extension.

@flozano
Copy link

flozano commented Apr 1, 2021

are there any existing published builds with postgis already ?

@tomix26
Copy link
Collaborator

tomix26 commented May 30, 2021

are there any existing published builds with postgis already ?

No, they aren't, you have to build them yourself.

@ebondu
Copy link

ebondu commented Mar 28, 2024

I bundled an embedded binary with postgis by modifying the project's scripts but I am not sure the approach is valid. As I didn't found a clean way to download the postgis files (binaries / sql) of a given version, I added these files manually to the project by copying the ones installed locally by the "stackbuilder" from entreprisedb. Files added to the project are quite huge (around 100Mo), so I guess this is not the best way to do the repack. Do you know a better approach to get postgis binary files for a given version ?

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

5 participants