shayonj / pg_easy_replicate

Easily setup logical replication and switchover to new database with minimal downtime
MIT License
929 stars 16 forks source link

Quote table name in the `VACUUM` SQL #118

Closed faridco closed 4 months ago

faridco commented 4 months ago

Table name could use reserved keyword from SQL. For example, the following is valid

create table "table" (id int);
insert into "table" (id) values (1);
select * from "table"

NOTE the quoting

shayonj commented 4 months ago

Thank you for the PR. If you don't mind doing a rebase with the main branch. Pushed a fix for the CI failure - https://github.com/shayonj/pg_easy_replicate/commit/3aade1cc4b50ab80a87b49645ee401cb375239c9

faridco commented 4 months ago

Thank you for the PR. If you don't mind doing a rebase with the main branch. Pushed a fix for the CI failure - 3aade1c

I've updated the fork