Skip to content

Commit

Permalink
Change test
Browse files Browse the repository at this point in the history
  • Loading branch information
Neptune650 committed Oct 23, 2024
1 parent 9e2a4ca commit a0e54c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgmq-extension/test/sql/base.sql
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ SELECT * from pgmq.send('test_default_queue', '{"hello": "world"}');
SELECT msg_id = :msg_id FROM pgmq.read('test_default_queue', 2, 1);

-- read message using conditional
SELECT msg_id = :msg_id FROM pgmq.read('test_default_queue', 2, 1, '{"hello": "world"}');
SELECT * FROM pgmq.read('test_default_queue', 2, 1, '{"hello": "world"}');

-- set VT to 5 seconds
SELECT vt > clock_timestamp() + '4 seconds'::interval
Expand Down

0 comments on commit a0e54c5

Please sign in to comment.