diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-06-16 11:28:56 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-06-29 11:11:44 +0200 |
commit | 7b51842728b6ee99945afe401fca317c703a12d9 (patch) | |
tree | 7ed893517f793928679254a74cd7b28479556f4f /odb/pgsql/query.hxx | |
parent | c6019273a7564be9ed772d45aa95e09aaff37a23 (diff) |
Add support for bulk operations using pipeline mode in libpq 14
Diffstat (limited to 'odb/pgsql/query.hxx')
-rw-r--r-- | odb/pgsql/query.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/odb/pgsql/query.hxx b/odb/pgsql/query.hxx index b940261..42182d6 100644 --- a/odb/pgsql/query.hxx +++ b/odb/pgsql/query.hxx @@ -1671,7 +1671,7 @@ namespace odb bind (bind_type* b) { b->type = bind::numeric; - b->buffer = buffer_.data (); + b->buffer = buffer_.data_ptr (); b->capacity = buffer_.capacity (); b->size = &size_; } @@ -1836,7 +1836,7 @@ namespace odb bind (bind_type* b) { b->type = bind::text; - b->buffer = buffer_.data (); + b->buffer = buffer_.data_ptr (); b->capacity = buffer_.capacity (); b->size = &size_; } @@ -1881,7 +1881,7 @@ namespace odb bind (bind_type* b) { b->type = bind::bytea; - b->buffer = buffer_.data (); + b->buffer = buffer_.data_ptr (); b->capacity = buffer_.capacity (); b->size = &size_; } @@ -1926,7 +1926,7 @@ namespace odb bind (bind_type* b) { b->type = bind::bit; - b->buffer = buffer_.data (); + b->buffer = buffer_.data_ptr (); b->capacity = buffer_.capacity (); b->size = &size_; } @@ -1970,7 +1970,7 @@ namespace odb bind (bind_type* b) { b->type = bind::varbit; - b->buffer = buffer_.data (); + b->buffer = buffer_.data_ptr (); b->capacity = buffer_.capacity (); b->size = &size_; } |