Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [932dffc559ef188eb31d0223116e9da361833488] by Adam Majer

Revision 932dffc559ef188eb31d0223116e9da361833488, committed by Adam Majer · October 25th, 2008 @ 11:54 AM

Fix binary data corruption bug in PostgreSQL adaptor

  1. Move the binary escape/unescape from column to the driver - we should store binary data AR just like most other adaptors
  2. check to make sure we only unescape bytea data PGresult.ftype( column ) == 17 that is passed to us in escaped format PGresult.fformat( column ) == 0

Signed-off-by: Michael Koziarski michael@koziarski.com [#1063 state:committed] http://github.com/rails/rails/co...

1 changed file

  • M activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb