get Binary() constructor into types.Binary

Issue #29 resolved
Michael Bayer
repo owner created an issue

postgres requires the usage of the psycopg.Binary object to properly save binary objects. Place this either into the postgres module, or put it into the base Binary type in the types module, modifying convert_bind_param and convert_result_value to take an engine parameter in order to find the dbapi type. make a decent binary unit test probably inside of test/ which takes a large sized binary to test binary functionality across all databases.

Comments (2)

  1. Log in to comment