We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, we don't store information about if a message had a delay. We could store it in the message headers:
select * from pgmq.send('my_queue', '{}'::jsonb, 10); select msg, headers from pgmq.read('my_queue', 5, 5); | msg | headers | | {} | {"x-pgmq-send-in": 10} |
Additionally, we can send with delay based on these headers:
-- This: select * from pgmq.send('my_queue', '{}'::jsonb, '{"x-pgmq-send-in": 5}'::jsonb) -- Could be equivalent to: select * from pgmq.send('my_queue', '{}'::jsonb, 5)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently, we don't store information about if a message had a delay. We could store it in the message headers:
Additionally, we can send with delay based on these headers:
The text was updated successfully, but these errors were encountered: