Skip to content

dump-to-postgresql: PSQL password causes "invalid percent-encoded token" error #41

@csm-thu

Description

@csm-thu

Hello!

It seems that percent characters (%) are not supported in the POSTGRES_USER_PASSWORD environment variable when calling the csm-data store dump-to-postgresql command from a run.json file. The run fails with the error below:
adbc_driver_manager.OperationalError: IO: [libpq] Failed to connect: invalid percent-encoded token: "%[...]".

Not sure about this, but other characters might cause similar errors: @, $, &, ...

A work-around exists for this problem: in the environment variable, one has to replace special characters by their percent-encoded equivalent.

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