CREATE EXTENSION
Extension packaging infrastructure: control files, install and update scripts, relocation, trusted extensions and @extschema@ references. Introduced in PostgreSQL 9.1.
Versions
- PostgreSQL 19 · worked-on · improved · minor
- PostgreSQL 18 · shipped · improved · minor · 4 commits · +26 / -76 lines
- PostgreSQL 17 · worked-on · improved · moderate
- PostgreSQL 16 · worked-on · improved · moderate
- PostgreSQL 15 · worked-on · improved · moderate
Threads
- Prevent object capture in CREATE/ALTER EXTENSION scripts
- SQL function to access to `creating_extension`
- Potential issue in listExtensions()
- Missing pg_depend entries for constraints created by extensions (deptype 'e')
- RE: Changes in CREATE EXTENSION from being an extension to statement
- Add a function to get the version of installed extension
- Adding extension default version to \dx
- Create syscaches for pg_extension
- Non-superuser can't relocated its own trusted extensions
- ALTER EXTENSION SET SCHEMA versus dependent types
- postgres_fdw fails to see that array type belongs to extension
- [PATCH] Support % wildcard in extension upgrade filenames
- CREATE EXTENSION forces an library initialization - is it bug?
- Ability to reference other extensions by schema in extension scripts
- Allow an extention to be updated without a script
- Trusted extension cannot be dropped by the owner of the extension
- CREATE EXTENSION not adding extension on second SCHEMA
- BUG #17157: authorizaiton of dict_int and bloom extention
- BUG #17144: Upgrade from v13 to v14 with the cube extension failed
- BUG #17098: Assert failed on composing an error message when adding a type to an extension being dropped
- Trusted extension cannot be dropped by the owner of the extension
- Dependency isn't created between extension and schema
- hash_extension(text)
- BUG #16698: Create extension and search path
- Loose ends after CVE-2020-14350 (extension installation hazards)
- Re: Make contrib modules' installation scripts more secure.
- create extension requires superuser?
- Re: [postgis-devel] About EXTENSION from UNPACKAGED on PostgreSQL 13
- Marking some contrib modules as trusted extensions
- BUG #16250: As the owner of a database, I can't CREATE EXTENSION postgis;
- Removing pg_pltemplate and creating "trustable" extensions
- Allow relocatable extension to use @extschema@?
- Preserving extension ownership in dump/restore/pg_upgrade
- Prevent extension creation in temporary schemas
- Creating extensions for non-superusers
- Goodbye pg_pltemplate, hello trusted extensions
- Multiple TO version in ALTER EXTENSION UPDATE