pgtle.uninstall_extension(name, version) - Amazon Aurora
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

pgtle.uninstall_extension(name, version)

The uninstall_extension(name, version) function removes the specified version of the TLE extension from the database. This function prevents CREATE EXTENSION and ALTER EXTENSION from installing or updating a TLE extension to the specified version. This function also removes all update paths for the specified version of the TLE extension. This function won't uninstall the TLE extension if it's currently active in the database. You must explicitly call DROP EXTENSION to remove the TLE extension. To uninstall all versions of a TLE extension, see pgtle.uninstall_extension(name).

Function prototype

pgtle.uninstall_extension(extname text, version text)

Role

pgtle_admin

Arguments

  • extname – The name of the TLE extension. This value is used when calling CREATE EXTENSION.

  • version – The version of the TLE extension to uninstall from the database.

Output

None.

Usage example

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