Closed stijn-vranckx closed 1 month ago
I can submit a patch if needed. The change seems trivial.
It seems to me an issue on H2 database side @katzyn ?
@ebocher What do you mean? Every database object, excluding users and roles, has a schema and H2GIS should take it into account.
H2GIS should probably have an own schema for functions and other objects and this schema must be specified in schema search path.
@katzyn Oups... I'm just seeing your message now I thought the default schema was the PUBLIC one and therefore INSERT INTO SPATIAL_REF_SYS was equivalent to INSERT INTO PUBLIC.SPATIAL_REF_SYS
thanks @stijn-vranckx for the issue. You are welcome to submit a PR.
Fixed
The following code fails:
This because a number of insert statements are formatted in the following way;
Changing this to
Would solve the problem. There are already some insert statements using the schema prefix.