pgtle.uninstall_update_path - 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_update_path function removes the specific update path from a TLE extension. This prevents ALTER EXTENSION ... UPDATE TO from using this as an update path.

If the TLE extension is currently being used by one of the versions on this update path, it remains in the database.

If the update path specified doesn't exist, this function raises an error.

Function prototype

pgtle.uninstall_update_path(extname text, fromvers text, tovers text)




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

  • fromvers – The source version of the TLE extension used on the update path.

  • tovers – The destination version of the TLE extension used on the update path.



Usage example

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