pgtle.uninstall_update_path - Amazon Aurora

pgtle.uninstall_update_path

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)

Role

pgtle_admin

Arguments

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

Output

None.

Usage example

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