Skip to content

"Unrecognized option for Postgres attach: data_path" for duckdb with ducklake catalog" #4937

@dnbnero

Description

@dnbnero

PR #4913 introduces new error: duckdb.duckdb.BinderException: Binder Error: Unrecognized option for attach "data_path" if using ducklake catalog with postgres (maybe mysql too) as meta database with path like postgres:dbname=dbname user=user password=password host=host port=port and some data_path. This variant of string is also correct for duckdb. Cause of error: without type value duckdb recognizes string as pg connection string
Workaround: add ducklake:postgres: to start of path of ducklake catalog, so duckdb recognizes string as ducklake string instead of postgres

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions