pgtle.unregister_feature - 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 unregister_feature function provides a way to remove functions that were registered to use pg_tle features, such as hooks. For information about registering a feature, see pgtle.register_feature.

Function prototype

pgtle.unregister_feature(proc regproc, feature pg_tle_features)




  • proc – The name of a stored function to register with a pg_tle feature.

  • feature – The name of the pg_tle feature to register with the function. For example, passcheck is a feature that can be registered for use by the trusted language extensions that you develop. For more information, see Password-check hook (passcheck).



Usage example

SELECT * FROM pgtle.unregister_feature('pw_hook', 'passcheck');