We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c706900 + c935532 commit c0baa88Copy full SHA for c0baa88
src/db-check.cpp
@@ -51,6 +51,10 @@ void check_db(options_t const &options)
51
get_minimum_postgresql_server_version())};
52
}
53
54
+ if (settings.at("server_encoding") != "UTF8") {
55
+ throw std::runtime_error{"Database is not using UTF8 encoding."};
56
+ }
57
+
58
auto const postgis_version = get_postgis_version(db_connection);
59
log_info("PostGIS version: {}.{}", postgis_version.major,
60
postgis_version.minor);
0 commit comments