repro:

reshke=# wait for lsn '1/01C96E58' with (timeout '-1ms');
ERROR:  timeout cannot be negative
reshke=# wait for lsn '1/01C96E58' with (timeout '-0.4ms');
^CCancel request sent
ERROR:  canceling statement due to user request

I think we need to reject '-0.4ms' in the same way as '-1ms'.

SImple fix attached

-- 
Best regards,
Kirill Reshke

Attachment: fix-bug13-0001-wait-fix-negative-subms-timeout.patch
Description: Binary data

Reply via email to