Feature Request: Consider allowing relocation to a different schema during CREATE EXTENSION #1013
eeeebbbbrrrr
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
|
A simple workaround is to create |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Why do you want this feature?
In offering both
pg_duckdbandtimescaledbon PlanetScale's Postgres offering, these extensions, by default, cannot be created at the same time as they both contain a function namedtime_bucket.Timescale is able to be relocated to a different schema during CREATE EXTENSION, but pg_duckdb is not:
We're evaluating how to handle this and I think our preference would be to tell users to put both extensions into separate schemas.
I see in
pg_duckdb's .control file that it's bothrelocatable=falseandschema=publicand it's this combination that prevents it from being relocated (third bullet point here: https://www.postgresql.org/docs/current/extend-extensions.html#EXTEND-EXTENSIONS-RELOCATION).I'm sure this was intentional, however I don't know if it would be as easy as removing the
schema=publicline.Thanks for your consideration.
Beta Was this translation helpful? Give feedback.
All reactions