# LogicTest: local local-opt local-parallel-stmts fakedist fakedist-opt fakedist-metadata

query error job with ID 1 does not exist
PAUSE JOB 1

query error could not parse "foo" as type int
PAUSE JOB 'foo'

query error could not parse "foo" as type int
CANCEL JOBS SELECT 'foo'

query error CANCEL JOBS expects a single column source, got 2 columns
CANCEL JOBS VALUES (1,2)

query error CANCEL JOBS requires int values, not type oid
CANCEL JOB 1::OID

statement ok count 0
PAUSE JOB (SELECT id FROM system.jobs LIMIT 0)

statement ok count 0
PAUSE JOBS SELECT id FROM system.jobs LIMIT 0

query error could not parse "foo" as type int
PAUSE JOBS SELECT 'foo'

query error PAUSE JOBS expects a single column source, got 2 columns
PAUSE JOBS VALUES (1,2)

query error job with ID 1 does not exist
RESUME JOB 1

query error could not parse "foo" as type int
RESUME JOB 'foo'

query error could not parse "foo" as type int
RESUME JOBS SELECT 'foo'

query error RESUME JOBS expects a single column source, got 2 columns
RESUME JOBS VALUES (1,2)

statement ok count 0
RESUME JOB (SELECT id FROM system.jobs LIMIT 0)

statement ok count 0
RESUME JOBS SELECT id FROM system.jobs LIMIT 0

query error job with ID 1 does not exist
CANCEL JOB 1

query error could not parse "foo" as type int
CANCEL JOB 'foo'

statement ok count 0
CANCEL JOB (SELECT id FROM system.jobs LIMIT 0)

statement ok count 0
CANCEL JOBS SELECT id FROM system.jobs LIMIT 0

query error CANCEL QUERIES requires string values, not type int
CANCEL QUERY 1

query error CANCEL QUERIES expects a single column source, got 2 columns
CANCEL QUERIES VALUES (1,2)

query error odd length hex string
CANCEL QUERY 'f54'

query error not found
CANCEL QUERY '14d2355b9cccbca50000000000000001'

query error CANCEL SESSIONS requires string values, not type int
CANCEL SESSION 1

query error CANCEL SESSIONS expects a single column source, got 2 columns
CANCEL SESSIONS VALUES (1,2)

query error odd length hex string
CANCEL SESSION 'f54'

query error not found
CANCEL SESSION '14d2355b9cccbca50000000000000001'

statement ok count 0
CANCEL SESSION (SELECT 'a' LIMIT 0)

statement ok count 0
CANCEL SESSIONS SELECT 'a' LIMIT 0

# Regression test for #25842
query error odd length hex string
CANCEL SESSION 'aaa'::NAME

query error odd length hex string
CANCEL QUERY 'aaa'::NAME
