#
# Test case for statement timeout patch.
#
'Q'	"SET statement_timeout = '4s'"

# Receive response from backend
'Y'

# BEGIN
'P'	""	"BEGIN"	0
'B'	""	""	0	0	0
'E'	""	0

# Execute statement which takes 2 seconds.
'P'	""	"SELECT pg_sleep(3)"	0
'B'	""	""	0	0	0
'E'	""	0

# Execute statement which takes 2 seconds.
'P'	""	"SELECT pg_sleep(2)"	0
'B'	""	""	0	0	0
'E'	""	0

# COMMIT
'P'	""	"COMMIT"	0
'B'	""	""	0	0	0
'E'	""	0

# Issue Sync message
'S'

# Receive response from backend
'Y'

# Send terminate message
'X'
