For the complete documentation index, see llms.txt. This page is also available as Markdown.

User-Defined Functions

Extend MariaDB Server's capabilities with user-defined functions (UDFs). Learn how to create and implement custom functions to perform specialized operations directly within your SQL queries.

An introduction to User-Defined Functions (UDFs) in MariaDB, explaining how they extend the server's functionality by adding new native-like functions.

A guide for developers on writing UDFs in C/C++, covering the required interface functions, memory allocation, and thread safety.

Install a user-defined function from a shared library. This command loads an external compiled function into the server for extended capabilities.

Documentation for the DROP FUNCTION statement, which uninstalls a UDF and removes its entry from the system table.

Technical details on the execution flow of UDFs, explaining the sequence in which initialization, processing, and de-initialization functions are called.

Overview of security measures for UDFs, including file location restrictions, required privileges, and system variable configurations.

Last updated

Was this helpful?