Answer the question
In order to leave comments, you need to log in
How to make an extension relocatable?
I made such a decision, to move the extension - control--1.0.sql (I created the code for determining the waiting mat through create schema) and send control--1.0.control to SHAREDIR/extension and specify relocatable= in the control--1.0.control file true. And in response received corrections:
answer is not correct.
Try to create your extension in a clean database.
Create a new DB.
Create a test schema;
Do
create extension complex with schema test;
Now make it work.
Answer the question
In order to leave comments, you need to log in
created via create schema
this is only possible if the extension contains no internal assumptions about what schema any of its objects are in
where did create schema come from in your sql, any references to it in object names
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question