renamed timestamp to timestamp_type_t

This commit is contained in:
2026-01-07 09:23:47 +01:00
parent f30c250a20
commit c6747074f5
26 changed files with 47 additions and 47 deletions
@@ -145,7 +145,7 @@ void postgres_parameter_binder::write_value(const size_t pos, const utils::time_
bind_data_.formats[pos] = 0;
}
void postgres_parameter_binder::write_value(size_t pos, const utils::timestamp &x) {
void postgres_parameter_binder::write_value(size_t pos, const utils::timestamp_type_t &x) {
}
void postgres_parameter_binder::write_value(const size_t pos, const utils::blob_type_t &x) {
@@ -114,7 +114,7 @@ void postgres_result_reader::read_value(const char * /*id*/, const size_t index,
}
}
void postgres_result_reader::read_value(const char * /*id*/, size_t index, utils::timestamp &value) {
void postgres_result_reader::read_value(const char * /*id*/, size_t index, utils::timestamp_type_t &value) {
if (const auto val = column(index); strlen(val) > 0) {
}
}
@@ -224,7 +224,7 @@ void postgres_result_reader::read_value(const char * /*id*/, const size_t index,
set_value<utils::date_type_t>(column(index), val);
break;
case utils::basic_type::DateTime: {
set_value<utils::timestamp>(column(index), val);
set_value<utils::timestamp_type_t>(column(index), val);
break;
}
case utils::basic_type::Null: {