Postgres error “invalid value for parameter ”TimeZone“: ”UTC“”

前端 未结 15 815
甜味超标
甜味超标 2021-02-01 00:26
Jupitor$ bundle exec rake db:create db:migrate
APP_development already exists
rake aborted!
PG::Error: ERROR:  invalid value for parameter \"TimeZone\": \"UTC\"
: SET ti         


        
15条回答
  •  情话喂你
    2021-02-01 00:38

    Try restarting the server. I updated Postgresql through Homebrew but forgot to restart the server and got this same problem. I believe it's due to the client and server versions not matching. psql started with:

    $ psql
    psql (9.1.4, server 9.1.2)
    Type "help" for help.
    

提交回复
热议问题