#4551 closed enhancement (fixed)
Regress: Use --schema= option to change were the extension is installed
Reported by: | Algunenano | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.1.0 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
Currently the "--schema" option is used to check functions that might access objects or relations in the extension. We should extend it and use it also to install the extension into that schema.
Change History (4)
comment:1 by , 5 years ago
comment:3 by , 5 years ago
Related to this: We should change the files that we load for regress testing and, instead of reading the ones with @extschema@ stripped, we should replace @extschema@ with whatever schema is passed.
That way we can test pgplsql functions with something like:
BEGIN; SET search_path = pg_catalog; -- Query with the function ROLLBACK;
in order to check that is independent on the search_path (e.g. everything is qualified properly)
Note:
See TracTickets
for help on using tickets.
The option was added in r17954