Skip to content

Commit

Permalink
Merge pull request #81 from tudelft3d/fix/compatability-with-latest-p…
Browse files Browse the repository at this point in the history
…ostgres

Fix/compatability with latest postgres
  • Loading branch information
gioagu authored Jan 23, 2025
2 parents e897dee + bdaa0f8 commit e81ad5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion cdb4/ddl_scripts/postgresql/010_functions.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2750,7 +2750,9 @@ perform_snapping integer DEFAULT 0, -- i.e. default is 0 ("do nothing"), oth
digits integer DEFAULT 3, -- number of digits after comma for precision
area_min numeric DEFAULT 0.0001 -- minimum acceptable area of a polygon
)
RETURNS geometry AS $$
RETURNS geometry
SET search_path TO public, pg_catalog, pg_temp
AS $$
DECLARE
dec_prec numeric;
srid_id integer;
Expand Down
3 changes: 2 additions & 1 deletion cdb4/ddl_scripts/postgresql/080_layers_bridge.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,8 @@ sql_layer := concat(sql_layer,'
INNER JOIN ',qi_cdb_schema,'.surface_geometry AS sg ON (sg.root_id = ig.relative_brep_id AND sg.implicit_geometry IS NOT NULL)
WHERE
o.',t.lodx_label,'_implicit_rep_id IS NOT NULL
GROUP BY o.id;
GROUP BY o.id
WITH NO DATA;
COMMENT ON MATERIALIZED VIEW ',qi_usr_schema,'.',qi_gv_name,' IS ''Mat. view of (',r.class_name,') ',s.class_name,' ',t.lodx_name,' in schema ',qi_cdb_schema,''';
',qgis_pkg.generate_sql_matview_footer(qi_usr_name, qi_usr_schema, ql_l_name, qi_gv_name));

Expand Down

0 comments on commit e81ad5e

Please sign in to comment.