Skip to content

Cherry-pick: Fix SQLite base64 blob detection (#1472) #23

@GingerAdonis

Description

@GingerAdonis

Upstream PR

dimitri#1472

Summary

When SQLite driver returns blob values as strings, pgloader assumed they were base64-encoded. Fix adds a has-base64-value-p function to verify before decoding; falls back to UTF-8 encoding if not base64.

Files

  • src/sources/sqlite/sqlite.lisp

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcomponent: transformsCasting, type mapping, data transformssource: sqliteSQLite source migrations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions