Skip to content

Revert breaking changes around NpgsqlStatement.Rows - #3205

Merged
roji merged 1 commit into
npgsql:mainfrom
roji:RowsCompatibility
Oct 3, 2020
Merged

roji merged 1 commit into
npgsql:mainfrom
roji:RowsCompatibility

Conversation

@roji

@roji roji commented Oct 3, 2020 •

Copy link
Copy Markdown
Member

NpgsqlStatement.Rows was changed in #2112 from uint to ulong, revert this and introduce a new LongRows instead.

NpgsqlStatement.Rows was changed in npgsql#2112 from uint to ulong,
revert this and introduce a new LongRows instead.
@roji
roji requested a review from YohDeadfall as a code owner October 3, 2020 05:56
@YohDeadfall

Copy link
Copy Markdown
Contributor

Any reason to do it?

@roji

roji commented Oct 3, 2020 •

Copy link
Copy Markdown
Member Author

The main reason is that anything compiled against 3.1 can't work against 5.0, and vice versa. This is notably the case with the EFCore.PG, which looks at NpgsqlStatement.Rows - and I'd rather not prevent EFCore.PG 5.0 from working with earlier versions for no reason.

This also caused a lot of trouble for Marten back when we released 4.1 (we reverted this change), so we should be careful.

@roji
roji merged commit 1bc5a91 into npgsql:main Oct 3, 2020
@roji
roji deleted the RowsCompatibility branch October 3, 2020 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants