Built-in Extensions
vsql_complex
Status: Built-in with VillageSQL Repository: villagesql-server/villagesql/examples/vsql-complex Complex number data type with full arithmetic support for electrical engineering, signal processing, and scientific computing. Features:COMPLEXcolumn type for storing complex numbers (a + bi)- String literal format:
'(real,imaginary)'(e.g.,'(3.0,4.0)') - Arithmetic: add, subtract, multiply, divide
- Utilities:
complex_real(),complex_imag(),complex_abs(),complex_conjugate() - Binary storage: 16 bytes (2 doubles)
External Extensions
The following extensions are maintained in separate repositories and must be built and installed separately. Each extension provides its own installation instructions and documentation.vsql_uuid
UUID data type and functionsGenerate, validate, convert, and compare UUIDs. Includes v1, v4, and v5 UUID generation.
vsql_crypto
Cryptographic functionsHashing (SHA-256, SHA-512), encryption (AES), and secure random data generation using OpenSSL.
vsql_network_address
Network address typesIPv4, IPv6, and MAC address data types with validation, comparison, and network operations.
vsql_ai
AI-powered SQL functionsIntegrate AI capabilities directly into your database queries.
Installing Built-in Extensions
Built-in extensions are ready to install:vsql_complex and vsql_simple are included by default. To use external extensions, build them from their GitHub repositories (links above) and copy the .veb files to your VEF directory (see Installing External Extensions).
See Installing Extensions for detailed instructions.
Creating Your Own Extension
Build custom extensions using the VillageSQL extension template:vsql_extension_template
Fork this template to start building your own VillageSQL extension

