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 [a3dd69da6d76fd8375e8d4da39ed254f8fcc3238] by Adam Majer

Revision a3dd69da6d76fd8375e8d4da39ed254f8fcc3238, committed by Adam Majer · October 25th, 2008 @ 11:55 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