Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NULL values considered distinct by Postgres < 15 #2738

Merged
merged 1 commit into from
Nov 24, 2022

Conversation

mayaCostantini
Copy link
Contributor

Related Issues and Dependencies

Related to #2729

This introduces a breaking change

  • No

This should yield a new module release

  • Yes

This Pull Request implements

Fix NULL values considered as distinct by postgres versions < 15. This would possibly enforce the unique constraint set on package version and avoid duplicate package entries in the database table PythonPackageVersionEntity.

@sesheta sesheta added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Nov 22, 2022
@mayaCostantini
Copy link
Contributor Author

Needs #2737 to be merged for tests to pass.

@mayaCostantini
Copy link
Contributor Author

/retest

@VannTen
Copy link
Member

VannTen commented Nov 23, 2022 via email

postgresql_where parameter to the python_package_version_entity_idx (see
link to doc in code)
@VannTen
Copy link
Member

VannTen commented Nov 24, 2022

Thanks !
/lgtm

@sesheta sesheta added the lgtm Indicates that a PR is ready to be merged. label Nov 24, 2022
@VannTen
Copy link
Member

VannTen commented Nov 24, 2022

And I can approve here, o/
/approve

@sesheta
Copy link
Member

sesheta commented Nov 24, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: VannTen

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sesheta sesheta added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 24, 2022
@sesheta sesheta merged commit f8c1f14 into thoth-station:master Nov 24, 2022
@mayaCostantini mayaCostantini deleted the fix-package-index-dup branch November 24, 2022 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants