Skip to content

Commit

Permalink
pg16 blocker - Update postgis (#1222)
Browse files Browse the repository at this point in the history
* bump postgis 3.3.1 to 3.3.7

* fix: SET search_path on pg_tap test

---------

Co-authored-by: Sam Rose <samuel@supabase.io>
  • Loading branch information
olirice and Sam Rose authored Sep 25, 2024
1 parent 96a912f commit 1335eae
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion migrations/tests/extensions/01-postgis.sql
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ grant all privileges on all sequences in schema tiger, tiger_data to postgres wi
alter default privileges in schema tiger, tiger_data grant all on tables to postgres with grant option;
alter default privileges in schema tiger, tiger_data grant all on routines to postgres with grant option;
alter default privileges in schema tiger, tiger_data grant all on sequences to postgres with grant option;

SET search_path TO extensions, public, tiger, tiger_data;
-- postgres role should have access
set local role postgres;
select tiger.pprint_addy(tiger.pagc_normalize_address('710 E Ben White Blvd, Austin, TX 78704'));
Expand Down
4 changes: 2 additions & 2 deletions nix/ext/postgis.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ let
in
stdenv.mkDerivation rec {
pname = "postgis";
version = "3.3.2";
version = "3.3.7";

outputs = [ "out" "doc" ];

src = fetchurl {
url = "https://download.osgeo.org/postgis/source/postgis-${version}.tar.gz";
sha256 = "sha256-miohnaAFoXMKOdGVmhx87GGbHvsAm2W+gP/CW60pkGg=";
sha256 = "sha256-UHJKDd5JrcJT5Z4CTYsY/va+ToU0GUPG1eHhuXTkP84=";
};

buildInputs = [ libxml2 postgresql geos proj gdal json_c protobufc pcre2.dev sfcgal ]
Expand Down
Loading

0 comments on commit 1335eae

Please sign in to comment.