diff --git a/migrations/tests/extensions/01-postgis.sql b/migrations/tests/extensions/01-postgis.sql index e843a7bfd..23fab501c 100644 --- a/migrations/tests/extensions/01-postgis.sql +++ b/migrations/tests/extensions/01-postgis.sql @@ -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')); diff --git a/nix/ext/postgis.nix b/nix/ext/postgis.nix index e0b6dfbeb..fcf1a8a56 100644 --- a/nix/ext/postgis.nix +++ b/nix/ext/postgis.nix @@ -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 ] diff --git a/nix/tests/expected/extensions_sql_interface.out b/nix/tests/expected/extensions_sql_interface.out index ab43f54e6..d5df3c719 100644 --- a/nix/tests/expected/extensions_sql_interface.out +++ b/nix/tests/expected/extensions_sql_interface.out @@ -4345,11 +4345,11 @@ order by postgis_tiger_geocoder | tiger | drop_nation_tables_generate_script | param_schema text | text postgis_tiger_geocoder | tiger | drop_state_tables_generate_script | param_state text, param_schema text | text postgis_tiger_geocoder | tiger | end_soundex | character varying | character varying - postgis_tiger_geocoder | tiger | geocode | in_addy tiger.norm_addy, max_results integer, restrict_geom geometry, OUT addy tiger.norm_addy, OUT geomout geometry, OUT rating integer | SETOF record - postgis_tiger_geocoder | tiger | geocode | input character varying, max_results integer, restrict_geom geometry, OUT addy tiger.norm_addy, OUT geomout geometry, OUT rating integer | SETOF record - postgis_tiger_geocoder | tiger | geocode_address | parsed tiger.norm_addy, max_results integer, restrict_geom geometry, OUT addy tiger.norm_addy, OUT geomout geometry, OUT rating integer | SETOF record - postgis_tiger_geocoder | tiger | geocode_intersection | roadway1 text, roadway2 text, in_state text, in_city text, in_zip text, num_results integer, OUT addy tiger.norm_addy, OUT geomout geometry, OUT rating integer | SETOF record - postgis_tiger_geocoder | tiger | geocode_location | parsed tiger.norm_addy, restrict_geom geometry, OUT addy tiger.norm_addy, OUT geomout geometry, OUT rating integer | SETOF record + postgis_tiger_geocoder | tiger | geocode | in_addy norm_addy, max_results integer, restrict_geom geometry, OUT addy norm_addy, OUT geomout geometry, OUT rating integer | SETOF record + postgis_tiger_geocoder | tiger | geocode | input character varying, max_results integer, restrict_geom geometry, OUT addy norm_addy, OUT geomout geometry, OUT rating integer | SETOF record + postgis_tiger_geocoder | tiger | geocode_address | parsed norm_addy, max_results integer, restrict_geom geometry, OUT addy norm_addy, OUT geomout geometry, OUT rating integer | SETOF record + postgis_tiger_geocoder | tiger | geocode_intersection | roadway1 text, roadway2 text, in_state text, in_city text, in_zip text, num_results integer, OUT addy norm_addy, OUT geomout geometry, OUT rating integer | SETOF record + postgis_tiger_geocoder | tiger | geocode_location | parsed norm_addy, restrict_geom geometry, OUT addy norm_addy, OUT geomout geometry, OUT rating integer | SETOF record postgis_tiger_geocoder | tiger | get_geocode_setting | setting_name text | text postgis_tiger_geocoder | tiger | get_last_words | inputstring character varying, count integer | character varying postgis_tiger_geocoder | tiger | get_tract | loc_geom geometry, output_field text | text @@ -4374,14 +4374,14 @@ order by postgis_tiger_geocoder | tiger | location_extract_place_exact | fullstreet character varying, stateabbrev character varying | character varying postgis_tiger_geocoder | tiger | location_extract_place_fuzzy | fullstreet character varying, stateabbrev character varying | character varying postgis_tiger_geocoder | tiger | missing_indexes_generate_script | | text - postgis_tiger_geocoder | tiger | normalize_address | in_rawinput character varying | tiger.norm_addy + postgis_tiger_geocoder | tiger | normalize_address | in_rawinput character varying | norm_addy postgis_tiger_geocoder | tiger | nullable_levenshtein | character varying, character varying | integer postgis_tiger_geocoder | tiger | numeric_streets_equal | input_street character varying, output_street character varying | boolean - postgis_tiger_geocoder | tiger | pagc_normalize_address | in_rawinput character varying | tiger.norm_addy - postgis_tiger_geocoder | tiger | pprint_addy | input tiger.norm_addy | character varying + postgis_tiger_geocoder | tiger | pagc_normalize_address | in_rawinput character varying | norm_addy + postgis_tiger_geocoder | tiger | pprint_addy | input norm_addy | character varying postgis_tiger_geocoder | tiger | rate_attributes | dirpa character varying, dirpb character varying, streetnamea character varying, streetnameb character varying, streettypea character varying, streettypeb character varying, dirsa character varying, dirsb character varying, locationa character varying, locationb character varying, prequalabr character varying | integer postgis_tiger_geocoder | tiger | rate_attributes | dirpa character varying, dirpb character varying, streetnamea character varying, streetnameb character varying, streettypea character varying, streettypeb character varying, dirsa character varying, dirsb character varying, prequalabr character varying | integer - postgis_tiger_geocoder | tiger | reverse_geocode | pt geometry, include_strnum_range boolean, OUT intpt geometry[], OUT addy tiger.norm_addy[], OUT street character varying[] | record + postgis_tiger_geocoder | tiger | reverse_geocode | pt geometry, include_strnum_range boolean, OUT intpt geometry[], OUT addy norm_addy[], OUT street character varying[] | record postgis_tiger_geocoder | tiger | set_geocode_setting | setting_name text, setting_value text | text postgis_tiger_geocoder | tiger | setsearchpathforinstall | a_schema_name text | text postgis_tiger_geocoder | tiger | state_extract | rawinput character varying | character varying