tursodatabase / tursodatabase/libsql
Unable to use libSQL extensions
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 17.2k
- Forks
- 531
- Avg merge
- 1h 12m
- Merged PRs (30d)
- 1
Description
I'm using the Turso CLI for local development. Although the docs explicitly mention the turso dev command for enabling extensions, the SQL server returns an error.
Consider basic example with dlevenshtein:
SELECT dlevenshtein('qweqwe', 'qweqwe');
Error:
SQL_INPUT_ERROR: SQL input error: no such function: dlevenshtein (at offset 7)
Turso CLI version:
$ turso -v
turso version v1.0.8
sqld version:
$ turso dev -v
sqld sqld 0.24.31 (e88c6b51 2025-01-06)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the dlevenshtein query through the turso dev entry point, using Turso CLI v1.0.8 and sqld 0.24.31. Compare the documented extension behavior with the returned no such function error; the issue is done when the documented local extension can be invoked successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sqlite
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100