<p>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.</p>
<pre><code>** 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
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2404?email_source=notifications&email_token=AAK2OLN4SKGA4A3T7COCPMTQPNVZTA5CNFSM4JCQE432YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBX4HEI#issuecomment-544195473">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPJZVIOJJTJVXVAF3TQPNVZTANCNFSM4JCQE43Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLP7A2KQ3EBKGLPLOHTQPNVZTA5CNFSM4JCQE432YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBX4HEI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2404?email_source=notifications\u0026email_token=AAK2OLN4SKGA4A3T7COCPMTQPNVZTA5CNFSM4JCQE432YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBX4HEI#issuecomment-544195473",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2404?email_source=notifications\u0026email_token=AAK2OLN4SKGA4A3T7COCPMTQPNVZTA5CNFSM4JCQE432YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBX4HEI#issuecomment-544195473",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>