mirror of
https://github.com/allankoechke/soci.git
synced 2026-11-30 10:58:24 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user