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

pin pgmq #1115

Merged
merged 1 commit into from
Jan 3, 2025
Merged

pin pgmq #1115

merged 1 commit into from
Jan 3, 2025

Conversation

nhudson
Copy link
Collaborator

@nhudson nhudson commented Jan 3, 2025

Apparently we need to pin the version of the pgmq crate to 0.29.2 exactly even though we have the version set, it somehow still will use 0.29.4 during the build process.

Using the latest version causes an error in Conductor:

[2025-01-02T23:10:07Z DEBUG sqlx::query] summary="SELECT * from pgmq.read(queue_name=>$1::text, …" db.statement="\n\nSELECT\n  *\nfrom\n  pgmq.read(\n    queue_name = > $1 :: text,\n    vt = > $2 :: integer,\n    qty = > $3 :: integer\n  )\n" rows_affected=0 rows_returned=1 elapsed=6.350657ms elapsed_secs=0.006350657
[2025-01-02T23:10:07Z ERROR conductor] error in conductor: PgmqError(DatabaseError(ColumnIndexOutOfBounds { index: 5, len: 5 }))

@nhudson nhudson self-assigned this Jan 3, 2025
@nhudson nhudson marked this pull request as ready for review January 3, 2025 00:23
@nhudson nhudson merged commit 4114527 into main Jan 3, 2025
9 checks passed
@nhudson nhudson deleted the nhudson/pin_pgmq branch January 3, 2025 00:31
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.

3 participants