pgtle.uninstall_extension(name) - Amazon Relational Database Service
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).


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)




  • 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.



Usage example

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