pgtle.register_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 register_feature function adds the specified internal PostgreSQL feature to the pgtle.feature_info table. PostgreSQL hooks are an example of an internal PostgreSQL feature. The Trusted Language Extensions development kit supports the use of PostgreSQL hooks. Currently, this function supports the following feature.

  • passcheck – Registers the password-check hook with your procedure or function that customizes PostgreSQL's password-check behavior.

Function prototype

pgtle.register_feature(proc regproc, feature pg_tle_feature)




  • proc – The name of a stored procedure or function to use for the feature.

  • feature – The name of the pg_tle feature (such as passcheck) to register with the function.



Usage example

SELECT pgtle.register_feature('pw_hook', 'passcheck');