Skip to content

PostgreSQL Npgsql Versioning #188

Open
@ghost

Description

It appears that NpgsqlTimeStamp does not exist in the nuget version of Npgsql 3.0.4. This means tables containing columns that use timestamp will drop columns. This is due to a combination of the behaviour of line https://github.com/fsprojects/SQLProvider/blob/master/src/SQLProvider/Providers.Postgresql.fs#L148 which filters out the type 'timestamp' (as it does not exist) and https://github.com/fsprojects/SQLProvider/blob/master/src/SQLProvider/Providers.Postgresql.fs#L423 which surpresses unknown types.

I suggest we either lock down SQLProvider to a specific Npgsql, or make the parsing of this more lenient.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions