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 wrong OID format type in repack_trigger #375

Merged
merged 1 commit into from
Dec 15, 2023

Conversation

Melkij
Copy link
Collaborator

@Melkij Melkij commented Dec 14, 2023

Table OID should be unsigned four-byte integer, therefore formatting with %d is wrong. %u should be used as in other places.

It's surprising that we haven't received such error messages before. But such a query is definitely wrong:

INSERT INTO repack.log_-907750756(pk, row) ...

I have no idea how to add a test with large OID.

table OID should be unsigned four-byte integer, therefore formatting with %d is wrong. %u should be used as in other places.
It's surprising that we haven't received such error messages before. But such a query is definitely wrong "INSERT INTO repack.log_-907750756(pk, row) "
@Melkij Melkij added the bug label Dec 14, 2023
Copy link
Collaborator

@za-arthur za-arthur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you that makes sense to me. LGTM.

@Melkij Melkij merged commit 3ecda64 into reorg:master Dec 15, 2023
9 checks passed
@Melkij
Copy link
Collaborator Author

Melkij commented Dec 15, 2023

Thank you for review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants