# enterprise-configs are blocked from running this file because they run with
# a CCL binary, so the expected failures from using a non-CCL binary don't occur.
# LogicTest: !enterprise-configs

# CCL-only statements error out trying to handle the parsed statements.

statement error pgcode XXC01 a CCL binary is required to use this statement type: \*tree\.Backup
BACKUP foo INTO "bar"

statement error pgcode XXC01 a CCL binary is required to use this statement type: \*tree\.Restore
RESTORE foo FROM LATEST IN "bar"

statement error pgcode XXC01 a CCL binary is required to use this statement type: \*tree\.CreateChangefeed
CREATE CHANGEFEED FOR foo

query error pgcode XXC01 a CCL binary is required to use this statement type
BACKUP DATABASE foo INTO '/bar' WITH incremental_location = '/baz'

query error  pgcode XXC01 a CCL binary is required to use this statement type
RESTORE DATABASE foo FROM LATEST IN '/bar'
