Module input_sanitization

Module input_sanitization 

Source

Constants§

MAX_NAME_LENGTH 🔒

Functions§

quote_identifier
quote_literal
validate_name
validate_ownership_by_prefixes
Core logic for validating the ownership of a database name. This function checks if the given name matches any of the given prefixes. These prefixes will in most cases be the user’s unix username and any unix groups the user is a member of.
validate_ownership_by_unix_user