#
# Test case for statement timeout patch using simple query.
# Expecting a statement timeout error.
#
'Q'	"SET statement_timeout = '2s'"

# Receive response from backend
'Y'

# Execute statement which takes 1 second. No timeout.
'Q'	"SELECT pg_sleep(1)"

# Receive response from backend
'Y'

'Q'	"SELECT pg_sleep(2)"

# Receive response from backend
'Y'

# Send terminate message
'X'
