Skip to content

Commit

Permalink
Update to postgis-3.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
elprans committed Jan 7, 2025
1 parent 419a52c commit b02ad35
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name = "postgis"
version = "3.5.0"
version = "3.5.1"
files = ["postgis.edgeql"]
postgres_files = "pg"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ To build, install, and test into a dev env:
- ``make``
- ``python scripts/gen_ext_postgis.py``
- ``make zip``
- ``edb load-ext postgis--3.5.0.zip``
- ``edb load-ext postgis--3.5.1.zip``
- ``edb test tests/test_edgeql_postgis.py``
2 changes: 1 addition & 1 deletion postgis
Submodule postgis updated 50 files
+47 −3 NEWS
+10 −9 README.md
+2 −2 README.postgis
+1 −1 Version.config
+1 −1 doc/extras_topology.xml
+1 −1 doc/installation.xml
+2 −1 doc/introduction.xml
+18 −20 doc/reference_guc.xml
+2 −2 doc/reference_output.xml
+48 −1 doc/release_notes.xml
+2 −2 extensions/postgis_tiger_geocoder/Makefile.in
+6 −2 extensions/upgradeable_versions.mk
+615 −0 extras/tiger_geocoder/tiger_loader_2024.sql
+54 −6 liblwgeom/measures.c
+223 −45 liblwgeom/topo/lwgeom_topo.c
+1 −2 libpgcommon/Makefile.in
+0 −1 libpgcommon/common.h
+0 −1 libpgcommon/lwgeom_pg.h
+0 −11 libpgcommon/pgsql_compat.h
+0 −1 postgis/flatgeobuf.c
+0 −1 postgis/geobuf.c
+5 −0 postgis/geography_inout.c
+3 −1 postgis/lwgeom_functions_basic.c
+3 −3 postgis/lwgeom_geos_predicates.c
+7 −0 postgis/lwgeom_inout.c
+2 −2 postgis/lwgeom_transform.c
+0 −1 postgis/mvt.c
+7 −7 postgis/postgis.sql.in
+5 −0 postgis/postgis_legacy.c
+1 −0 raster/rt_core/rt_gdal.c
+1 −0 raster/rt_core/rt_geometry.c
+5 −0 raster/rt_pg/rtpg_mapalgebra.c
+68 −68 raster/rt_pg/rtpostgis.sql.in
+5 −0 raster/test/regress/rt_mapalgebra_expr.sql
+1 −0 raster/test/regress/rt_mapalgebra_expr_expected
+13 −1 regress/core/knn_recheck.sql
+2 −0 regress/core/knn_recheck_expected
+12 −0 regress/core/measures.sql
+1 −0 regress/core/measures_expected
+1 −1 regress/core/regress_expected
+0 −1 topology/postgis_topology.c
+8 −0 topology/test/regress/st_changeedgegeom.sql
+1 −0 topology/test/regress/st_changeedgegeom_expected
+30 −0 topology/test/regress/st_newedgessplit.sql
+40 −0 topology/test/regress/st_newedgessplit_expected
+41 −0 topology/test/regress/topogeo_addlinestring.sql
+8 −0 topology/test/regress/topogeo_addpoint.sql
+1 −0 topology/test/regress/topogeo_addpoint_expected
+15 −0 topology/test/regress/topogeo_addpoint_merge_edges.sql
+2 −0 topology/test/regress/topogeo_addpoint_merge_edges_expected
2 changes: 1 addition & 1 deletion postgis.edgeql
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#


create extension package postgis version '3.5.0' {
create extension package postgis version '3.5.1' {
set ext_module := "ext::postgis";
set sql_extensions := ["postgis >=3.5.0,<4.0.0"];

Expand Down
4 changes: 2 additions & 2 deletions scripts/gen_ext_postgis.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def parse_postgis_extension(
for fpath in root.glob('**/postgis*.sql'):
name = fpath.name
# We might scan more postgis extension files
if name in {'postgis--3.5.0.sql', 'postgis_comments.sql'}:
if name in {'postgis--3.5.1.sql', 'postgis_comments.sql'}:
with open(fpath, mode='rt') as f:
sql_query = ''.join(
line for line in f.readlines()
Expand Down Expand Up @@ -842,7 +842,7 @@ def main(show_broken=False):
# We're looking for the SQL files in the build location. This requires the
# build to be already done.
parse_postgis_extension(
base_build / 'build' / 'postgis--3.5.0' / 'share' / 'postgresql',
base_build / 'build' / 'postgis--3.5.1' / 'share' / 'postgresql',
functions, aggregates, comments, aggcomments, operators,
)
eqlop = generate_eqlop(operators, functions)
Expand Down
2 changes: 1 addition & 1 deletion scripts/postgis.template.edgeql
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#


create extension package postgis version '3.5.0' {
create extension package postgis version '3.5.1' {
set ext_module := "ext::postgis";
set sql_extensions := ["postgis >=3.5.0,<4.0.0"];

Expand Down
2 changes: 1 addition & 1 deletion tests/test_edgeql_postgis.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def get_setup_script(cls):
with open(os.path.join(root, 'edb/lib/ext/postgis.edgeql')) as f:
contents = f.read()
to_add = '''
drop extension package postgis version '3.5.0';
drop extension package postgis version '3.5.1';
''' + contents
splice = '__internal_testmode := true;'
res = res.replace(splice, splice + to_add)
Expand Down

0 comments on commit b02ad35

Please sign in to comment.