pgtle.uninstall_extension(name) - Amazon Aurora

pgtle.uninstall_extension(name)

The uninstall_extension function removes all versions of a TLE extension from a database. This function prevents future calls of CREATE EXTENSION from installing the TLE extension. If the TLE extension doesn't exist in the database, an error is raised.

The uninstall_extension function won't drop a TLE extension that's currently active in the database. To remove a TLE extension that's currently active, you need to explicitly call DROP EXTENSION to remove it.

Function prototype

pgtle.uninstall_extension(extname text)

Role

pgtle_admin

Arguments

  • extname – The name of the TLE extension to uninstall. This name is the same as the one used with CREATE EXTENSION to load the TLE extension for use in a given database.

Output

None.

Usage example

SELECT * FROM pgtle.uninstall_extension('pg_tle_test');