Skip to content

Commit c01364d

Browse files
authored
Materialize the Partition View (#178)
* materialize the partition view * fix for default sort not getting picked up when no sort set when paging * update changelog * remove extra notice
1 parent fe119fe commit c01364d

14 files changed

+5157
-29
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## [v0.7.5]
8+
9+
### Fixed
10+
- Default sort not getting set when sortby not included in query with token (Fixes [#177](https://github.com/stac-utils/pgstac/issues/177))
11+
- Fixes regression in performance between with changes for partition structure at v0.7.0. Changes the normal view for partitions and partition_steps into indexed materialized views. Adds refreshing of the views to existing triggers to make sure they stay up to date.
12+
713
## [v0.7.4]
814

915
### Added

scripts/bin/test

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ psql -X -t -a -v ON_ERROR_STOP=1 pgstac_test_basicsql \
9191
-c "ROLLBACK;" \
9292
| sed -e '/^ROLLBACK/d' -e '/^BEGIN/d' >"$TMPFILE"
9393

94-
diff -y --suppress-common-lines -Z -b -w -B --strip-trailing-cr "$TMPFILE" $SQLOUTFILE && echo "TEST $SQLFILE PASSED" || { echo "***TEST FOR $SQLFILE FAILED***"; exit 1; }
94+
diff -Z -b -w -B --strip-trailing-cr --suppress-blank-empty -C 1 "$TMPFILE" $SQLOUTFILE && echo "TEST $SQLFILE PASSED" || { echo "***TEST FOR $SQLFILE FAILED***"; exit 1; }
9595

9696
done
9797
psql -X -q -c "DROP DATABASE pgstac_test_basicsql WITH (force)";

0 commit comments

Comments
 (0)