- Notifications
You must be signed in to change notification settings - Fork15
Add multi-order coverage (MOC) support to pgsphere#1
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
80 commits Select commitHold shift + click to select a range
bdc37d1 pgsphere_1.1.4.916
a02bfc8 comment fixes
a73c2f8 healpix_bare support added.
jontxu113fe5e Compatibility with PostgreSQL 11 for GAVO extensions
af1775a init_test.out diffs
8a631b9 No longer putting .git into the tarball
msdemlei6eabeb4 ignore past Chealpix oddities
eaf010b Import healpix_bare 1.0
df7cba72a14a Add .gitlab-ci.yml
df7cb07cd808 Add alternate expected output file for PG12
df7cb730184e Ignore more build artifacts
df7cb899b535 Makefile: Default to USE_PGXS
df7cbccbb153 Build healpix_bare directly from toplevel Makefile
df7cb59d7825 Only override CXXFLAGS on PG10 and older
df7cbf60104d doc: Fix syntax of CREATE INDEX statement
df7cb38b081b Add .travis.yml
df7cbbbff762 Bump version to 1.2.0 and implement smoc_union aka ||
df7cb2fd90cf Call add_to_map directly without going through add_to_moc
df7cb414095b Implement smoc_intersection aka *
df7cb62e9cb8 sum() and intersection() aggregates
df7cb5e7f90b Implement = and <> on smoc
df7cbd697926 Add smoc_disc(order, theta, phi, radius)
df7cbbde580f Upgrade travis to bionic to get newer libhealpix-cxx-dev
df7cb0385c53 Remove unused empty file
df7cb8536ff1 Use | and & for moc union and intersection
df7cbf018d4f Variables cleanup
df7cb6068898 Check order in smoc_disc
df7cb15a2438 create_moc_release_context always returns 1, change to void and remov…
df7cbf26c86f Implement smoc-from-scircle, and swap order of arguments in smoc_disc
df7cbebeda07 Implement smoc overlap
df7cb77b4129 Fix variable declaration warnings
df7cb1d2ff8b Run tests with -Werror
df7cb532f79e Add missing function prototypes
df7cb6849860 Simplify linking with g++
df7cb084fe50 Makefile: Suppress declaration-after-statement in healpix_bare.c
df7cb01c9915 Refresh sparse.c and sscan.c
df7cbebcaf05 Add IMMUTABLE and PARALLEL SAFE decorators to moc functions
df7cb139c7a4 Ignore tags file
df7cb22b598b Move conv_theta and math constants to new header pgs_util.h
df7cb999a62d Implement smoc(order, spoly)::smoc
df7cb28e2bf5 Comment all functions and operators
df7cb672a949 Add smoc subset operators
df7cb3af7c0e Use query_*_inclusive and add more test cases
df7cbcf1aba9 Fix format warning on 32 bit
df7cbf4d5683 Fix spoly detoasting in smoc_spoly()
df7cb23b7338 Drop MOC_FORMAT_64X and obsolete code using it
df7cb76e47dd Add smoc_info() function
df7cbdf29542 Remove redundant variable
df7cb1e87b8b Speed up smoc_eq by detoasting header only first
df7cbc140f67 Test equality on a large smoc
df7cbfbe38aa Speed up overlaps operation by looking at the smoc header first
df7cb33807c7 Speed up subset operations by looking at the smoc header first
df7cbf855597 Add smoc rounding function that converts smocs to lower order
df7cb0fe578d Test smoc_round on level 0
df7cb3fece18 GIN index support
df7cb98fc1ba GIN: check && 'empty'
df7cb6335bfe Use space as moc interval separator as per recent standards
df7cb686e018 Implement subset/superset for GIN
df7cb43d5734 Rename smoc_round to smoc_degrade
df7cbc289a46 Refactor gin_extact functions
df7cb403da2c Add a second gin opclass smoc_gin_ops_fine using level 8
df7cb27708bd Add smoc(order, spoint) function
df7cb3c51f93 Store original moc order
df7cb1ed597a Include stored moc order in output
df7cb229b55a Catch PlanckError
df7cb4c86b29 doc/Makefile: Default to USE_PGXS and openjade, and build docs during…
df7cb32533d1 PG13 compatibility
df7cbae87e3a doc: smoc type
df7cbc5433d3 smoc documentation
df7cbeb27a2f Support equality lookups
df7cb875154c Implement inequality index lookups
df7cb8526665 Remove beta README.GAVO file
df7cbb7eb98e Expand docs with more smoc details
df7cb9c91983 Rename smoc_area to area and make it return steradians
df7cb229527c moc: Fix regression test deviation on i386
df7cb91612c5 Fix smoc_degrade bitmask on 32bit
df7cbb3c6d55 Rename internal function moc_round to moc_degrade for consistency
df7cb9bb202c Fix gin key extraction on 32bit
df7cb18e6ddb Accept varying moc100 regression output on 32bit
df7cb8d8d99e Add new expected output files for PG13
df7cbFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
8 changes: 6 additions & 2 deletions.gitignore
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 |
|---|---|---|
| @@ -1,6 +1,10 @@ | ||
| *.bc | ||
| *.o | ||
| *.so | ||
| /*.sql | ||
| /doc/html/ | ||
| /doc/pg_sphere.dsl | ||
| /results/ | ||
| regression.out | ||
| regression.diffs | ||
| tags |
22 changes: 22 additions & 0 deletions.gitlab-ci.yml
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,22 @@ | ||
| stages: | ||
| - build | ||
| .build: &build | ||
| stage: build | ||
| image: credativ/postgresql-build:${PGVERSION} | ||
| before_script: | ||
| - apt-get -y install libhealpix-cxx-dev docbook-dsssl docbook-xml openjade | ||
| script: | ||
| - make PROFILE="-Werror" | ||
| - make install | ||
| - if ! pg_virtualenv make installcheck; then cat regression.diffs; exit 1; fi | ||
| - make -C doc | ||
| - make -C doc install | ||
| build:9.4: { <<: *build, variables: { PGVERSION: '9.4' } } | ||
| build:9.5: { <<: *build, variables: { PGVERSION: '9.5' } } | ||
| build:9.6: { <<: *build, variables: { PGVERSION: '9.6' } } | ||
| build:10: { <<: *build, variables: { PGVERSION: '10' } } | ||
| build:11: { <<: *build, variables: { PGVERSION: '11' } } | ||
| build:12: { <<: *build, variables: { PGVERSION: '12' } } | ||
| build:13: { <<: *build, variables: { PGVERSION: '13' } } |
30 changes: 30 additions & 0 deletions.travis.yml
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 @@ | ||
| # run the testsuite on travis-ci.com | ||
| --- | ||
| # versions to run on | ||
| env: | ||
| - PG_SUPPORTED_VERSIONS=9.4 # introduces psprintf | ||
| - PG_SUPPORTED_VERSIONS=9.5 | ||
| - PG_SUPPORTED_VERSIONS=9.6 | ||
| - PG_SUPPORTED_VERSIONS=10 | ||
| - PG_SUPPORTED_VERSIONS=11 | ||
| - PG_SUPPORTED_VERSIONS=12 | ||
| - PG_SUPPORTED_VERSIONS=13 | ||
| language: C | ||
| dist: bionic | ||
| before_install: | ||
| # extra apt.pg.o.sh options added in version 204, travis currently has 199 (2019-11-27) | ||
| - sudo apt-get -qq update | ||
| - sudo apt-get -y install postgresql-common libhealpix-cxx-dev docbook-dsssl docbook-xml openjade | ||
| install: | ||
| - sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -p -v $PG_SUPPORTED_VERSIONS -i | ||
| script: | ||
| - make PROFILE="-Werror" | ||
| - sudo make install | ||
| - pg_virtualenv make installcheck | ||
| - if test -s regression.diffs; then cat regression.diffs; fi | ||
| - make -C doc | ||
| - sudo make -C doc install |
172 changes: 162 additions & 10 deletionsMakefile
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
7 changes: 4 additions & 3 deletionsdoc/Makefile
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
46 changes: 46 additions & 0 deletionsdoc/constructors.sgm
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
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
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.