Skip to content

Commit

Permalink
fix (atlas_synthese.sql): avoid the error geometry does not exist
Browse files Browse the repository at this point in the history
With pg_restore the search_path is not set to public. So, the error "geometry does not exist" is raised.
  • Loading branch information
jpm-cbna committed Dec 7, 2023
1 parent 9f30331 commit b9d3a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/gn2/atlas_synthese.sql
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ CREATE OR REPLACE FUNCTION atlas.get_blurring_centroid_geom_by_code(code CHARACT
IMMUTABLE
AS $function$
-- Function which return the centroid for a sensitivity or diffusion_level code and a synthese id
DECLARE centroid geometry;
DECLARE centroid public.geometry;

BEGIN
SELECT INTO centroid csa.centroid_4326
Expand Down

0 comments on commit b9d3a78

Please sign in to comment.