Skip to content

roapi postgres support - JDBC driver fails due to issuing Postgres session command to set extra float digits #180

@chrisfw

Description

@chrisfw

Hi,
This appears to be a command that is automatically issued by the postgres JDBC driver and the error returned by roapi prevents a successful connection in DBeaver

[2022-07-22T13:12:27Z INFO  roapi::server::postgres] preparing query: SET extra_float_digits = 3
thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: ConnectionClosed', D:\a\roapi\roapi\roapi\src\server\postgres.rs:114:40

Can support for this statement be added even if it is a no-op?

Thanks,
Chris Whelan

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