Set multiple PostgreSQL startup GUCs for the embedded backend used by this server.
(mut self, settings: impl IntoIterator<Item = (K, V)>)
| 248 | /// Set multiple PostgreSQL startup GUCs for the embedded backend used by |
| 249 | /// this server. |
| 250 | pub fn postgres_configs<K, V>(mut self, settings: impl IntoIterator<Item = (K, V)>) -> Self |
| 251 | where |
| 252 | K: Into<String>, |
| 253 | V: Into<String>, |
| 254 | { |
| 255 | for (name, value) in settings { |
| 256 | self.postgres_config.insert(name, value); |
| 257 | } |
| 258 | self |
| 259 | } |
| 260 | |
| 261 | /// Default user encoded in [`PgliteServer::database_url`]. |
| 262 | pub fn username(mut self, username: impl Into<String>) -> Self { |