| | |
| | | 2026-02-09 Regina Obe <lr@pcorp.us> |
| | | 2025-11-13 Paul Ramsey <pramsey@cleverelephant.ca> |
| | | |
| | | * doc/release_notes.xml: Fix missing </para> |
| | | * .gitignore, NEWS, README.postgis, Version.config, |
| | | doc/release_notes.xml, extensions/upgradeable_versions.mk: Prepare |
| | | for 3.6.1 release |
| | | |
| | | 2026-02-09 Regina Obe <lr@pcorp.us> |
| | | 2025-11-12 Regina Obe <lr@pcorp.us> |
| | | |
| | | * NEWS, README.postgis, Version.config, doc/release_notes.xml, |
| | | extensions/upgradeable_versions.mk: Prep for PostGIS 3.6.2 release |
| | | * NEWS, doc/extras_topology.xml, topology/Makefile.in, |
| | | topology/sql/manage/FixCorruptTopoGeometryColumn.sql.in, |
| | | topology/test/regress/fix_topogeometry_columns.sql, |
| | | topology/test/regress/fix_topogeometry_columns_expected, |
| | | topology/test/regress/hooks/hook-after-upgrade-topology.sql, |
| | | topology/test/tests.mk, topology/topology.sql.in: |
| | | topology.FixCorruptTopoGeometryColumn to fix corruption caused by |
| | | 3.6.0 upgrade - Add function - Add tests - Add docs - Add NEWS References #5983 for PostGIS 3.6.1 |
| | | |
| | | 2026-02-09 Regina Obe <lr@pcorp.us> |
| | | 2025-11-10 Regina Obe <lr@pcorp.us> |
| | | |
| | | * .cirrus.yml: FIXES TO CIRRUS CI - Get rid of $NCPU and put in a 2 instead and lower the ram. |
| | | References #6047 for PostGIS 3.6.2 - Change FreeBSD to 14.3, 14.2 is no longer available |
| | | |
| | | 2026-02-09 Regina Obe <lr@pcorp.us> |
| | | |
| | | * extensions/postgis_extension_helper.sql.in, |
| | | extensions/postgis_extension_helper_uninstall.sql, |
| | | * NEWS, doc/installation.xml, |
| | | extensions/postgis_tiger_geocoder/Makefile.in, |
| | | extensions/postgis_tiger_geocoder/sql_bits/remove_from_extension.sq |
| | | l.in, extensions/postgis_topology/Makefile.in, |
| | | extensions/postgis_topology/sql_bits/remove_from_extension.sql.in: |
| | | Remove postgis_extension_remove_objects Closes #5853 for PostGIS |
| | | 3.6.2 Fix postgis_tiger_geocoder upgrade for PostgreSQL < 16 Closes #6032 |
| | | for PostGIS 3.6.2 |
| | | extras/tiger_geocoder/tiger_loader_2025.sql: Revise |
| | | postgis_tiger_geocoder to use tiger 2025 data Closes #6013 for |
| | | PostGIS 3.6.1 |
| | | |
| | | 2026-02-02 Maksim Korotkov <m.korotkov@postgrespro.ru> |
| | | 2025-11-07 Paul Ramsey <pramsey@cleverelephant.ca> |
| | | |
| | | * postgis/flatgeobuf.c: Fix memory allocation size for arrays in |
| | | flatgeobuf_decode_row The original code incorrectly allocated memory |
| | | for pointers instead of the actual types, potentially causing buffer |
| | | overflows or memory corruption since it was allocating insufficient |
| | | memory (size of pointer instead of size of Datum/bool). Found by PostgesPro. Fixes: 3ae2c5844 ("FlatGeobuf format |
| | | input/output") Signed-off-by: Maksim Korotkov |
| | | <m.korotkov@postgrespro.ru> |
| | | * NEWS: News entry for #6012 |
| | | |
| | | 2026-01-27 Paul Ramsey <pramsey@cleverelephant.ca> |
| | | 2025-11-07 Paul Ramsey <pramsey@cleverelephant.ca> |
| | | |
| | | * postgis/gserialized_typmod.c: Fix mixed declarations mistake |
| | | * liblwgeom/lwcircstring.c: fix memory leak, references #6012 |
| | | |
| | | 2026-01-27 bdreiss <bd_reiss@gmx.at> |
| | | 2025-11-07 Darafei Praliaskouski <me@komzpa.net> |
| | | |
| | | * postgis/gserialized_typmod.c: The geodetic flag was queried after |
| | | gser has been freed ################################################### BUG REPORT |
| | | ################################################## ### DESCRITPION ### The geodetic flag was queried after gser has been freed in line 143, |
| | | leading to a use-after-free bug. This means the behaviour is |
| | | undefined and it is not clear, which branch will be taken (and |
| | | therefor, whether geometry or geography is returned). Below you find |
| | | the output from gdb can be seen, that confirms that a) the point is |
| | | indeed inserted with the wrong flag and b) also after selecting the |
| | | point from the table remains unset. Issues when using SQL could not |
| | | be produced. ### SETUP IN PG ### CREATE EXTENSION postgis; CREATE TABLE test_geog (id SERIAL PRIMARY |
| | | KEY, geog geography(POINT, 4326)); INSERT INTO test_geog (geog) |
| | | VALUES (ST_GeogFromText('SRID=4326;POINT(-77.0092 38.889588)')); ### GDB OUPUT AND STEPS TO REPRODUCE ### postgres@localhost:~$ gdb --args /usr/local/pgsql/bin/postgres |
| | | --single -D $PGDATA postgres (gdb) break gserialized_typmod.c:143 (gdb) break gserialized_typmod.c:150 (gdb) break geography_out (gdb) run backend> INSERT INTO test_geog (geog) VALUES |
| | | (ST_GeogFromText('SRID=4326;MULTIPOINT EMPTY')); Breakpoint 1, |
| | | postgis_valid_typmod (gser=0x58f991a3f378, typmod=1107460) at |
| | | gserialized_typmod.c:143 143 gserialized_typmod.c: No such file |
| | | or directory. (gdb) call gserialized_is_geodetic(gser) $1 = 1 (gdb) c Continuing. Breakpoint 2, postgis_valid_typmod (gser=0x58f991a8e150, |
| | | typmod=1107460) at gserialized_typmod.c:151 151 in |
| | | gserialized_typmod.c (gdb) call gserialized_is_geodetic(gser) $2 = 0 (gdb) c Continuing. backend> backend> INSERT INTO test_geog (geog) |
| | | VALUES (ST_GeogFromText('SRID=4326;POINT(-77.0092 38.889588)')); Breakpoint 2, postgis_valid_typmod (gser=0x58f991a3dca8, |
| | | typmod=1107460) at gserialized_typmod.c:151 151 in |
| | | gserialized_typmod.c (gdb) call gserialized_is_geodetic(gser) $4 = 1 (gdb) c Continuing. backend> backend> select geog from test_geog |
| | | where id=1; 1: geog (typeid = 14296, len = -1, typmod = 1107460, byval = |
| | | f) ---- Breakpoint 3, geography_out (fcinfo=0x7ffe871b40e0) at |
| | | /usr/local/pgsql/include/server/postgres.h:319 319 |
| | | return (Pointer) X; (gdb) set $gser = (GSERIALIZED *) pg_detoast_datum((void *) |
| | | fcinfo->args[0].value) (gdb) call gserialized_is_geodetic($gser) $7 = 0 (gdb) c Continuing. 1: geog = |
| | | "0101000020E6100000000000000000F87F000000000000F87F" |
| | | (typeid = 14296, len = -1, typmod = 1107460, byval = f) ---- |
| | | backend> select geog from test_geog where id=2; 1: geog (typeid = 14296, len = -1, typmod = 1107460, |
| | | byval = f) ---- Breakpoint 3, geography_out (fcinfo=0x7ffe871b40e0) at |
| | | /usr/local/pgsql/include/server/postgres.h:319 319 |
| | | return (Pointer) X; (gdb) set $gser = (GSERIALIZED *) pg_detoast_datum((void *) |
| | | fcinfo->args[0].value) (gdb) call gserialized_is_geodetic($gser) $8 = 1 (gdb) c Continuing. 1: geog = |
| | | "0101000020E6100000E3C798BB964053C000750305DE714340" |
| | | (typeid = 14296, len = -1, typmod = 1107460, byval = f) ---- |
| | | backend> ### INFO ### postgres=# SELECT version(); version |
| | | * NEWS: Touch up NEWS Closes #5984 |
| | | |
| | | --------------------------------------------------------------------------------------------------- PostgreSQL 18.1 on x86_64-pc-linux-gnu, compiled by gcc (Debian |
| | | 12.2.0-14+deb12u1) 12.2.0, 64-bit (1 row) postgres=# SELECT postgis_full_version(); |
| | | postgis_full_version |
| | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | | --------------------------------------------------------------------------------------------------------------------------------------------------------------- POSTGIS="3.6.1 f533623" [EXTENSION] PGSQL="180" |
| | | GEOS="3.11.1-CAPI-1.17.1" PROJ="9.1.1 NETWORK_ENABLED=OFF |
| | | URL_ENDPOINT=https://cdn.proj.org |
| | | USER_WRITABLE_DIRECTORY=/home/postgres/.loc al/share/proj |
| | | DATABASE_PATH=/usr/share/proj/proj.db" (compiled against PROJ 9.1.1) |
| | | LIBXML="2.9.14" LIBJSON="0.16" LIBPROTOBUF="1.4.1" WAGYU="0.5.0 |
| | | (Internal)" (1 row) COMPILE FLAGS USED: CC=clang ./configure --with-pgconfig=/usr/bin/pg_config CFLAGS="-O0 |
| | | -g -fsanitize=address -fno-omit-frame-pointer" |
| | | LDFLAGS="-fsanitize=address" |
| | | ############################################################################################################### |
| | | 2025-10-30 Darafei Praliaskouski <me@komzpa.net> |
| | | |
| | | 2026-01-26 Maksim Korotkov <m.korotkov@postgrespro.ru> |
| | | * postgis/cunit/cu_tester.c, postgis/gserialized_estimate.c, |
| | | postgis/gserialized_estimate_support.h: Guard against histogram axis |
| | | dimension underflow References #5959 References #5984 |
| | | |
| | | * postgis/geography_centroid.c: Replace check for avoiding NULL |
| | | dereference Fixes: 9726c4770 ("missed file commit for ST_Centroid Geography |
| | | support references #2951") Signed-off-by: Maksim Korotkov <m.korotkov@postgrespro.ru> |
| | | 2025-10-30 Darafei Praliaskouski <me@komzpa.net> |
| | | |
| | | 2026-01-20 Paul Ramsey <pramsey@cleverelephant.ca> |
| | | * NEWS, configure.ac, postgis/cunit/Makefile.in, |
| | | postgis/cunit/cu_tester.c, postgis/gserialized_estimate.c, |
| | | postgis/gserialized_estimate_support.h: Prevent histogram target |
| | | overflow when analysing massive tables Add CUnit tests for overflow scenarios Closes #5959 |
| | | |
| | | * NEWS: News item for 680639af5 |
| | | 2025-10-15 Paul Ramsey <pramsey@cleverelephant.ca> |
| | | |
| | | 2026-01-20 Maksim Korotkov <m.korotkov@postgrespro.ru> |
| | | * NEWS, postgis/postgis.sql.in: ST_ForcePolygonCCW should not flip |
| | | lines, closes #5754 |
| | | |
| | | * extensions/address_standardizer/standard.c: Avoid potential NULL |
| | | dereference in std_free() After check against NULL the pointer std |
| | | -> pagc_p was used unsafely. Found by PostgresPro with Svace Static Analyzer. Fixes: c6091a4bb |
| | | 2025-10-09 Regina Obe <lr@pcorp.us> |
| | | |
| | | * NEWS: Add credits. References #5998 for PostGIS 3.6.1 |
| | | |
| | | 2025-10-07 Regina Obe <lr@pcorp.us> |
| | | |
| | | * extras/tiger_geocoder/geocode_settings.sql, |
| | | extras/tiger_geocoder/pagc_normalize/pagc_tables.sql, |
| | | extras/tiger_geocoder/tiger_loader_2012.sql, |
| | | extras/tiger_geocoder/tiger_loader_2013.sql, |
| | | extras/tiger_geocoder/tiger_loader_2014.sql, |
| | | extras/tiger_geocoder/tiger_loader_2015.sql, |
| | | extras/tiger_geocoder/tiger_loader_2016.sql, |
| | | extras/tiger_geocoder/tiger_loader_2017.sql, |
| | | extras/tiger_geocoder/tiger_loader_2018.sql, |
| | | extras/tiger_geocoder/tiger_loader_2019.sql, |
| | | extras/tiger_geocoder/tiger_loader_2020.sql, |
| | | extras/tiger_geocoder/tiger_loader_2021.sql, |
| | | extras/tiger_geocoder/tiger_loader_2022.sql, |
| | | extras/tiger_geocoder/tiger_loader_2023.sql, |
| | | extras/tiger_geocoder/tiger_loader_2024.sql: TIGER EXTENSION |
| | | SECURITY fix - Ensure tables are created by tiger extension and bale if not. Patch provided by Andrey Borodin (Yandex) - Don't create tiger_data as that gets created on first load of |
| | | data and shouldn't be part of the extension References #5998 for PostGIS 3.6.1 |
| | | |
| | | 2025-10-09 Regina Obe <lr@pcorp.us> |
| | | |
| | | * ci/winnie/package_postgis.sh, ci/winnie/regress_postgis.sh, |
| | | ci/winnie/winnie_common.sh: Cleanup winnie ci building |
| | | |
| | | 2025-10-08 Paul Ramsey <pramsey@cleverelephant.ca> |
| | | |
| | | * liblwgeom/measures.c, liblwgeom/measures.h: Avoid possible null |
| | | pointer dereference. Closes #6000 |
| | | |
| | | 2025-10-08 Paul Ramsey <pramsey@cleverelephant.ca> |
| | | |
| | | * postgis/lwgeom_transform.c: Add in headers for Pg19 build |
| | | |
| | | 2025-09-24 Nikolai B <nikolai-b@users.noreply.github.com> |
| | | |
| | | * doc/introduction.xml, doc/reference_overlay.xml: doc(St_Subdivide) |
| | | mention potential changes in geography Closes |
| | | https://github.com/postgis/postgis/pull/831 for PostGIS 3.6.1 Patch provided by Nikolai Berkoff |
| | | |
| | | 2025-10-07 Maksim Korotkov <m.korotkov@postgrespro.ru> |
| | | |
| | | * extensions/address_standardizer/standard.c: address_standardizer: |
| | | fixed memory leak The memory was not released in case of error |
| | | handling. Found by PostgresPro with Svace static analyzer Fixes: c6091a4bb |
| | | ("Prep to move address_standardizer into extensions folder") |
| | | Signed-off-by: Maksim Korotkov <m.korotkov@postgrespro.ru> |
| | | |
| | | 2026-01-16 Loïc Bartoletti <loic.bartoletti@oslandia.com> |
| | | 2025-10-07 Paul Ramsey <pramsey@cleverelephant.ca> |
| | | |
| | | * sfcgal/regress/sfcgal_v2.sql, sfcgal/regress/sfcgal_v2_expected: |
| | | test(sfcgal): Fix Buffer3D tests against SFCGAL 2.3.0 SFCGAL 2.3.0 improves sphere generation using icosahedron algorithm |
| | | to avoid float issue. The geometry is slightly different and test |
| | | must be adapted accordingly. |
| | | * doc/reference_coverage.xml: Fix definition of ST_CoverageClean |
| | | parameter order |
| | | |
| | | 2026-01-14 Sandro Santilli <strk@kbt.io> |
| | | 2025-10-06 Paul Ramsey <pramsey@cleverelephant.ca> |
| | | |
| | | * .codespell.ignore: Add surnames to spellcheck ignore list |
| | | * NEWS, postgis/lwgeom_geos.c: Consistent clipping of MULTI/POINT |
| | | (Paul Ramsey) References #5962 |
| | | |
| | | 2026-01-14 Sandro Santilli <strk@kbt.io> |
| | | 2025-10-06 Paul Ramsey <pramsey@cleverelephant.ca> |
| | | |
| | | * liblwgeom/lwalgorithm.c: Stop using a tolerance for point-same |
| | | functions References #6023 in 3.6 branch (3.6.2dev) This is partially reverting 80eefad13bd00d1e56d2bec36cd5140f87775ce4 |
| | | * liblwgeom/cunit/cu_measures.c, liblwgeom/lwalgorithm.c: Fix |
| | | raycast for linestrings, references #5989 |
| | | |
| | | 2026-01-13 Sandro Santilli <strk@kbt.io> |
| | | 2025-10-03 Paul Ramsey <pramsey@cleverelephant.ca> |
| | | |
| | | * NEWS: Add missing NEWS item |
| | | |
| | | 2026-01-13 Sandro Santilli <strk@kbt.io> |
| | | |
| | | * liblwgeom/cunit/cu_ptarray.c, liblwgeom/ptarray.c: Fix robustness |
| | | issue in ptarray_contains_point References #6023 in 3.6 branch (3.6.2dev) Includes unit test |
| | | |
| | | 2025-12-22 Sandro Santilli <strk@kbt.io> |
| | | |
| | | * NEWS, doc/developer.md: Fix some spelling typos |
| | | |
| | | 2025-12-22 Sandro Santilli <strk@kbt.io> |
| | | |
| | | * NEWS, topology/sql/cleanup/RemoveUnusedPrimitives.sql.in, |
| | | topology/test/regress/removeunusedprimitives.sql: Fix |
| | | RemoveUnusedPrimitives without "topology" in search_path Includes regression test. References #6027 in stable-3.6 branch (3.6.2dev) |
| | | |
| | | 2025-12-15 Paul Ramsey <pramsey@cleverelephant.ca> |
| | | |
| | | * NEWS, liblwgeom/cunit/cu_gserialized2.c, |
| | | liblwgeom/gserialized2.c, liblwgeom/lwin_wkb.c: Convert |
| | | POLYGON(EMPTY) a polygon with an empty ring into POLYGON EMPTY a |
| | | polygon with no rings, in the WKB input routine. Handle any existing |
| | | POLYGON(EMPTY) in the gserialized_is_empty routine. References #6028 |
| | | |
| | | 2025-11-30 Regina Obe <lr@pcorp.us> |
| | | |
| | | * .drone-1.0.yml, .woodpecker/regress.yml: Get rid of drone and |
| | | refine wood-pecker to include removed drone items |
| | | |
| | | 2025-11-19 Paul Ramsey <pramsey@cleverelephant.ca> |
| | | |
| | | * schema qualify call in ST_MPointFromText, references #6020 |
| | | |
| | | * Restore history to NEWS file |