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
- 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...
1 changed file
-
M
activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb