make metadata storage pluggable

can we add a check on the connection setup to make sure that ansi-quotes are enabled?
Or alternatively, craft a query that will always fail if ansi quotes are disabled?