rails/rails — comment on commit 6a28c512e358a95bbabd24af9d2b0608df787158
File:  line 0
By joevandyk:

The postgresql log from that test run:

LOG: duration: 0.077 ms statement: BEGIN
LOG: duration: 0.288 ms parse a2: select * from developers where id = $1
LOG: duration: 0.025 ms bind a2: select * from developers where id = $1
DETAIL: parameters: $1 = '1'
LOG: duration: 0.032 ms execute a2: select * from developers where id = $1
DETAIL: parameters: $1 = '1'
LOG: duration: 0.140 ms statement: alter table developers add column zomg int
ERROR: cached plan must not change result type
STATEMENT: select * from developers where id = $1
ERROR: current transaction is aborted, commands ignored until end of transaction block
STATEMENT: DEALLOCATE a2
LOG: duration: 0.011 ms statement: ROLLBACK
LOG: duration: 0.092 ms statement: alter table developers drop column if exists zomg