-
Notifications
You must be signed in to change notification settings - Fork 15
[ISSUE #19] Make HEALPix/MOC support optional #26
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
Merged
vitcpp
merged 9 commits into
postgrespro:master
from
esabol:issue-19-make-healpix-moc-optional
Jul 11, 2023
Merged
Changes from 1 commit
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
2fe153f
Make HEALPix/MOC support optional
esabol d2fc6df
Minor correction to generation of pg_sphere--1.2.0--1.2.1.sql in the …
esabol 0d272eb
Additional tweaks to README.pg_sphere
esabol 4eb0e3a
Very minor tweak to README.pg_sphere
esabol 26def74
Add epochprop into variable assignments for REGRESS and TESTS to simp…
esabol bbcbdbf
Add USE_HEALPIX=0 cases to instrutions for regression testing and oth…
esabol ec3933a
Make Travis CI do make test and make crushtest
esabol c4a106d
Get 'make test' working again, both with HEALPix and without
esabol 8465435
Add USE_HEALPIX=0 build and regression tests to Travis CI
esabol File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-- complain if this upgrade script is run via psql | ||
\echo Use "ALTER EXTENSION pg_sphere UPDATE TO '1.2.0'" to load this file. \quit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-- complain if this upgrade script is run via psql | ||
\echo Use "ALTER EXTENSION pg_sphere UPDATE TO '1.2.1'" to load this file. \quit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
-- healpix | ||
ALTER FUNCTION nest2ring(integer, bigint) PARALLEL SAFE; | ||
ALTER FUNCTION ring2nest(integer, bigint) PARALLEL SAFE; | ||
ALTER FUNCTION healpix_convert_nest(integer, integer, bigint) PARALLEL SAFE; | ||
ALTER FUNCTION healpix_convert_ring(integer, integer, bigint) PARALLEL SAFE; | ||
ALTER FUNCTION nside2order(bigint) PARALLEL SAFE; | ||
ALTER FUNCTION order2nside(integer) PARALLEL SAFE; | ||
ALTER FUNCTION nside2npix(bigint) PARALLEL SAFE; | ||
ALTER FUNCTION npix2nside(bigint) PARALLEL SAFE; | ||
ALTER FUNCTION healpix_nest(integer, spoint) PARALLEL SAFE; | ||
ALTER FUNCTION healpix_ring(integer, spoint) PARALLEL SAFE; | ||
ALTER FUNCTION centre_of_healpix_nest(integer, bigint) PARALLEL SAFE; | ||
ALTER FUNCTION centre_of_healpix_ring(integer, bigint) PARALLEL SAFE; | ||
ALTER FUNCTION center_of_healpix_nest(integer, bigint) PARALLEL SAFE; | ||
ALTER FUNCTION center_of_healpix_ring(integer, bigint) PARALLEL SAFE; | ||
|
||
-- moc_type | ||
ALTER FUNCTION smoc_in(cstring) PARALLEL SAFE; | ||
ALTER FUNCTION smoc_out(smoc) PARALLEL SAFE; | ||
ALTER FUNCTION moc_debug() PARALLEL SAFE; | ||
ALTER FUNCTION set_smoc_output_type(integer) PARALLEL SAFE; | ||
ALTER FUNCTION max_order(smoc) PARALLEL SAFE; | ||
ALTER FUNCTION healpix_subset_smoc(bigint, smoc) PARALLEL SAFE; | ||
ALTER FUNCTION healpix_not_subset_smoc(bigint, smoc) PARALLEL SAFE; | ||
ALTER FUNCTION smoc_superset_healpix(smoc, bigint) PARALLEL SAFE; | ||
ALTER FUNCTION smoc_not_superset_healpix(smoc, bigint) PARALLEL SAFE; | ||
ALTER FUNCTION spoint_subset_smoc(spoint, smoc) PARALLEL SAFE; | ||
ALTER FUNCTION spoint_not_subset_smoc(spoint, smoc) PARALLEL SAFE; | ||
ALTER FUNCTION smoc_superset_spoint(smoc, spoint) PARALLEL SAFE; | ||
ALTER FUNCTION smoc_not_superset_spoint(smoc, spoint) PARALLEL SAFE; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I propose not to separate epochprop into a new line. It is already included unconditionally.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't want to change the order of the tests, as I thought that might affect something. I think I saw a comment somewhere saying that "the order matters" and not to change it, but maybe that doesn't apply to
REGRESS
. If it's ok to change the order of the tests, it would certainly simplify things if I could add it unconditionally above this line and I will update the PR.Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I may guess that epochprop independent on other tests. I tried to move epochprop back and forth and I haven't seen any problems with it. I got your point. It is up to you to keep PR unchanged. Furthermore, we are planning to cleanup and improve Makefile in the future. I do not see any problems with your PR at the moment.