-
Notifications
You must be signed in to change notification settings - Fork 874
Feature Request: Per-connection Npgsql.EnableLegacyTimestampBehavior #5564
Copy link
Copy link
Open
Milestone
Description
Steps to reproduce
- Create NpgsqlConnection "A" where the business logic requires Npgsql.EnableLegacyTimestampBehavior set to
true - Create NpgsqlConnection "B" where the business logic requires Npgsql.EnableLegacyTimestampBehavior set to
false
The issue
Depending on the order of operations, sometimes A will have Npgsql.EnableLegacyTimestampBehavior set to false, and sometimes B will have Npgsql.EnableLegacyTimestampBehavior set to true. It is difficult to set this switch deterministically and even more difficult to test. This creates a serious conflict in our app that uses both types of connections.
Instead we'd like a way to configure each Npgsql connection with the appropriate value of Npgsql.EnableLegacyTimestampBehavior.
Further technical details
- Npgsql version:
- A is using 8.0.0
- B is using 6.0.0
- PostgreSQL version: 13
- Operating system: Ubuntu Linux
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels