rake gitlab:backup:create fails with PostgreSQL
Created by: Bregor
gitlab@build:~/gitlab$ RAILS_ENV=production bundle exec rake gitlab:backup:create
Dumping database tables:
- Dumping table events... rake aborted!
PG::Error: ERROR: syntax error at or near "`"
LINE 1: SELECT * FROM `events`
^
: SELECT * FROM `events`
The problem is here: https://github.com/gitlabhq/gitlabhq/blob/master/lib/tasks/gitlab/backup.rake#L182 ("SELECT * FROM #{tbl}
")
Is format with backticks is necessary for MySQL and others?