diff options
-rw-r--r-- | odb/boost/uuid/pgsql/uuid-traits.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/boost/uuid/pgsql/uuid-traits.hxx b/odb/boost/uuid/pgsql/uuid-traits.hxx index f0f10ac..235e316 100644 --- a/odb/boost/uuid/pgsql/uuid-traits.hxx +++ b/odb/boost/uuid/pgsql/uuid-traits.hxx @@ -31,6 +31,11 @@ namespace odb typedef value_type query_type; typedef unsigned char* image_type; + // PostgreSQL binary UUID representation is big-endian in the RFC 4122, + // section 4.1.2 order. Lucky for us, that also the representation used + // by Boost. + // + static void set_value (value_type& v, const unsigned char* i, bool is_null) { |