Answer based on context: The following lists the extensions that can be installed by a…
- User
Answer based on context:
The following lists the extensions that can be installed by a user who has the
CREATEprivilege on the current database and do not require therds_superuserrole:- bool_plperl
- btree_gin
- btree_gist
- citext
- cube
- dict_int
- fuzzystrmatch
- hstore
- intarray
- isn
- jsonb_plperl
- ltree
- pg_trgm
- pgcrypto
- plperl
- plpgsql
- pltcl
- tablefunc
- tsm_system_rows
- tsm_system_time
- unaccent
- uuid-ossp
rds_superuserprivileges to regular users. With this feature, users can install many extensions if they have theCREATEprivilege on the current database instead of requiring therds_superuserrole. For more information, see the SQL CREATE EXTENSION command in the PostgreSQL documentation. The following lists the extensions that can be installed by a user who has theCREATEprivilege on the current database and do not require therds_superuserrole:- bool_plperl
- btree_gin
ERROR: permission denied to create extension "extension-name" HINT: This extension is not specified in "rds.allowed_extensions".
PostgreSQL trusted extensions
To install most PostgreSQL extensions requires
rds_superuserprivileges. PostgreSQL 13 introduced trusted extensions, which reduce the need to grantrds_superuserprivileges to regular users. With this feature, users can install many extensions if they have theCREATEprivilege on the currentrds.allowed_extensions. If an extension dependency installation fails, the entireCREATE EXTENSION CASCADEstatement will fail. If an extension is not included with therds.allowed_extensionsparameter, you will see an error such as the following if you try to install it.ERROR: permission denied to create extension "extension-name" HINT: This extension is not specified in "rds.allowed_extensions".PostgreSQL trusted extensions
which privilege do I need to install extensions?
- Assistant
Based on the context provided, to install most PostgreSQL extensions, you need the
rds_superuserprivileges. However, with the introduction of trusted extensions in PostgreSQL 13, users who have theCREATEprivilege on the current database can install many extensions without requiring therds_superuserrole.The passage lists several extensions that can be installed by a user with the
CREATEprivilege on the current database, without needing therds_superuserrole. These extensions include bool_plperl, btree_gin, btree_gist, citext, cube, and more.If you try to install an extension that is not included in the
rds.allowed_extensionsparameter, you will encounter an error message stating that permission is denied to create the extension and a hint that the extension is not specified inrds.allowed_extensions.In summary, to install most extensions, you need
rds_superuserprivileges. However, for the listed trusted extensions, having theCREATEprivilege on the current database is sufficient.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.