[odb-users] Help is need with odb::vector Binary Type for PostgreSQL

Alain-SergeNagni asnagni at yahoo.com
Tue Dec 12 23:31:39 EST 2017

Hi Boris,
  We read the sections of the document as you suggested. As always it has the information and solution to our issues:  chapter 5.4 and chapter 9

Thank you again,

Sent from my iPad

> On Dec 11, 2017, at 11:02 AM, Boris Kolpackov <boris at codesynthesis.com> wrote:
> Alain-Serge Nagni <asnagni at yahoo.com> writes:
>> We have a Classe with a std::vector as a data member,
>> std::vector<std::uint8_t> , and for performance reason we would
>> like to migrate to odb::::vector<std::uint8_t>.
>>      #pragma db type (“BYTEA")
>>      std::vector<std::uint8_t> m_imageBytes;
> odb::vector is a change-tracking implementation that is used for
> containers, not for storing BLOBs. See the documentation for
> details.
> Boris

More information about the odb-users mailing list