diff --git a/lib/pg_easy_replicate/orchestrate.rb b/lib/pg_easy_replicate/orchestrate.rb index 11a33e8..0b46780 100644 --- a/lib/pg_easy_replicate/orchestrate.rb +++ b/lib/pg_easy_replicate/orchestrate.rb @@ -365,7 +365,7 @@ def run_vacuum_analyze(conn_string:, tables:, schema:) ) Query.run( - query: "VACUUM VERBOSE ANALYZE #{t};", + query: "VACUUM VERBOSE ANALYZE #{quote_ident(t)};", connection_url: conn_string, schema: schema, transaction: false,