]> git.openstreetmap.org Git - rails.git/commit
Completely replace rails' version of pk_and_sequence_for
authorTom Hughes <tom@compton.nu>
Mon, 14 Jun 2010 12:00:49 +0000 (13:00 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 14 Jun 2010 12:00:49 +0000 (13:00 +0100)
commitf980e7e4a61e11e73406ed236398904a9ee2b30b
tree9be087dfdfe0d104374c999f030e58504e0950b5
parenta0af70cfb4b7ab179014050ce026ab054025a65e
Completely replace rails' version of pk_and_sequence_for

Falling back to the rails code for pk_and_sequence_for doesn't work
because we still wind up retrying the slow version of the query for
tables with no primary key. So just replace it instead.
config/initializers/postgresql_adapter.rb