On Mon, 29 Aug 2022 16:56:09 +0200 Joerg Sonnenberger <jo...@bec.de> wrote:

JS> Am Sun, Aug 28, 2022 at 11:04:28PM +0200 schrieb Vadim Zeitlin:
JS> >  Anyhow, the idea is that you're supposed to use soci::blob data type for
JS> > binary data. It's not supported by all backends, but should work fine with
JS> > Postgres, have you tried using it?
JS> 
JS> Correct me if I am wrong, but soci::blob is for Large Objects, not for
JS> accessing bytea?

 Sorry, you're right from Postgres point of view. But from SOCI point of
view I think that BLOBs are the only data type which can be used to
reliably store binary data. So while it'd be nice to fix support for BYTEA
in Postgres in SOCI, BLOBs should be already usable right now.

 Regards,
VZ

Attachment: pgpLewXrhN8zO.pgp
Description: PGP signature

_______________________________________________
soci-devel mailing list
soci-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/soci-devel

Reply via email to