[openstreetmap/openstreetmap-website] bump pg version in doc (#2404)

Brian DeRocher notifications at github.com
Sat Oct 19 20:37:45 UTC 2019


I agree structure.sql is auto generated.  All my new tables and stuff are in there and I didn't put them there.  I am using PG 9.5.  And when I ran bundle exec rake -t  test:db, I got this error (with trace enable), so structure.sql does appear to be used.  On a 9.6 database, it works fine.

```
** Invoke test:db (first_time)
** Invoke db:test:prepare (first_time)
** Invoke db:load_config (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:load_config
** Execute db:test:prepare
** Invoke db:test:load (first_time)
** Invoke db:test:purge (first_time)
** Invoke db:load_config 
** Invoke db:check_protected_environments (first_time)
** Invoke db:load_config 
** Execute db:check_protected_environments
** Execute db:test:purge
** Execute db:test:load
** Invoke db:test:load_structure (first_time)
** Invoke db:test:purge 
** Execute db:test:load_structure
psql:/home/brian/RubymineProjects/openstreetmap-website/db/structure.sql:3: ERROR:  unrecognized configuration parameter "idle_in_transaction_session_timeout"
rake aborted!
failed to execute:
psql -v ON_ERROR_STOP=1 -q -f /home/brian/RubymineProjects/openstreetmap-website/db/structure.sql osm_test
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2404#issuecomment-544195473
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20191019/e02f6bf6/attachment.html>


More information about the rails-dev mailing list