Correct example of PostgreSQL connection string

Use something in valid PostgreSQL syntax, i.e. space, and not semicolon,
separated and using "dbname" instead of "database".
This commit is contained in:
Vadim Zeitlin
2024-11-08 16:21:42 +01:00
parent ae2ca287a8
commit 9e2faf4526

View File

@@ -1483,7 +1483,7 @@ public:
std::string get_example_connection_string() const override
{
return "Host=localhost;Port=5432;Database=test;User=postgres;Password=postgres";
return "host=localhost port=5432 dbname=test user=postgres password=postgres";
}
table_creator_base* table_creator_1(soci::session& s) const override