rake gitlab:backup:create fails with PostgreSQL
Closed
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?
Created by: Bregor
P.S. GitLab 4.0-stable (9cf99397)
By Administrator on 2013-01-19T11:53:03 (imported from GitLab project)
Please register or sign in to reply