blob progress

This commit is contained in:
Sascha Kühl
2024-01-23 16:09:59 +01:00
parent 9c8e402692
commit aa5d32e30c
8 changed files with 58 additions and 6 deletions
@@ -10,6 +10,9 @@
.with_placeholder_func([](size_t index) {
return "$" + std::to_string(index);
})
.with_token_replace_map({
{dialect::token_t::BEGIN_BINARY_DATA, "E'\\\\"}
})
.with_data_type_replace_map({
{data_type_t::type_blob, "BYTEA"}
})
@@ -136,7 +136,7 @@ void postgres_parameter_binder::bind(size_t pos, const std::string &str, size_t
void postgres_parameter_binder::bind(size_t pos, const utils::blob &blob)
{
params_[pos] = "";
}
const std::vector<const char *> &postgres_parameter_binder::params() const