tursodatabase / tursodatabase/libsql

Unable to use libSQL extensions

Open
#2,046 2 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.