This project is archived and is in readonly mode.
Changeset [a3dd69da6d76fd8375e8d4da39ed254f8fcc3238] by Adam Majer
October 25th, 2008 @ 11:55 AM
Fix binary data corruption bug in PostgreSQL adaptor
- Move the binary escape/unescape from column to the driver - we should store binary data AR just like most other adaptors
- 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...
Committed by Adam Majer
- M activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>