Command Syntax
VERSION is supplied, the server opens {name}-{version}.veb,
compares the version against the manifest, and aborts if they differ.
Omit the clause to install {name}.veb, or — if only versioned VEBs
are present — the unique {name}-{version}.veb. See Selecting a Version.
Extensions are distributed as
.veb (VillageSQL Extension Bundle) files containing compiled libraries and metadata.Selecting a Version
VEB files inveb_dir may be named either {name}.veb (unversioned) or {name}-{version}.veb (versioned). To install a specific versioned VEB, add a VERSION clause:
VERSION, the server opens vsql_uuid-0.2.0.veb and verifies that the version in its manifest.json matches 0.2.0.
Without VERSION, the server resolves the file as follows:
- If
{name}.vebexists, install it; the version is read from itsmanifest.json. - Otherwise, if exactly one
{name}-{version}.vebexists, install it; the version in the filename is verified against itsmanifest.json. - Otherwise, the install fails and you must specify a version.
Extension Naming Conventions
VillageSQL uses different naming conventions in different contexts:- SQL commands: Use underscores:
INSTALL EXTENSION vsql_uuid - Repository names: Use hyphens:
github.com/villagesql/vsql-uuid - File names: Use underscores:
vsql_uuid.veb - manifest.json: Use underscores to match SQL:
"name": "vsql_uuid"
Prerequisites
- Running VillageSQL Server instance
- Administrative access (root or equivalent)
Installing Built-in Extensions
Built-in extensions included with VillageSQL are already in the veb_dir. Simply enable them:Verify Installation
Test Functionality
Installing External Extensions
For extensions downloaded or built separately:Your server must have
veb_dir configured before you can install external extensions. See Configuring veb_dir.1. Copy the .veb File
Find your server’s extension directory, then copy the.veb file into it:
2. Install Extension
VERSION clause:
3. Verify Installation
Troubleshooting
For more troubleshooting, see Managing Extensions.
Next Steps
Managing Extensions
Monitor and troubleshoot installed extensions
Available Extensions
Browse extensions you can install
Create Extensions
Build your own extensions

