-
Notifications
You must be signed in to change notification settings - Fork 32
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
Make pscheduler-server RPM fail when postgresql-load does #110
Comments
Consider doing a test load of the finished SQL into a temporary database during the build instead of depending on loads failing during installation. |
Arranged a syntax check during build to keep silly mistakes from getting into production. Because this requires a running PostgreSQL server, the Makefile will not do the check unless |
Sound good to make this optional. We can than try to integrate this check in the test part of the package build or in the post-build package tests. |
On the Debian side the package install will fail if the database does not load properly so basic testing should reveal any problems here. |
Checking syntax during build seems to have prevented these kinds of problems. Closing. |
The calls to
postgresql-load
in thepscheduler-server
RPM spec cause the scriptlet to stop on error, but for some internal, RPM-related reason, the whole operation continues.Discussion:
http://rpm5.org/community/rpm-users/0834.html(Dead link)Try to find a workaround for this.
The text was updated successfully, but these errors were encountered: