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

Add Windows support / Automatic Release build #15

Open
Pyroluk opened this issue Nov 18, 2022 · 0 comments
Open

Add Windows support / Automatic Release build #15

Pyroluk opened this issue Nov 18, 2022 · 0 comments

Comments

@Pyroluk
Copy link

Pyroluk commented Nov 18, 2022

Hi,

for Windows there is currently no strait forward way to “build” this extension, due to the build script being bash based. Also, PGXN does not support Windows (see FAQ: What about Windows?).

Since the build script just copies all the pgsql files into one sql file and does not actually compile anything, it would be a shame to exclude windows users from this pristine extension for no good reason.

For Windows users, I uploaded the finished “build” sql file and matching control file here: pgsql_holidays.zip
Copy them into your PostgreSQL install folder under C:\Program Files\PostgreSQL\XXX\share\extension.
Then run:

CREATE EXTENSION IF NOT EXISTS holidays

It would be nice to have something automatic to build und publish the extension under Releases.
That way anyone interested could use the extension without the hassle of running the Linux only build process.
Cheers! 🍻

@Pyroluk Pyroluk changed the title Add Windows support / Release build SQL script Add Windows support / Automatic Release build Nov 18, 2022
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