File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
src/Database/Postgres/Temp Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -432,8 +432,14 @@ withRestart db f = bracket (restart db) (either mempty stop) $
432
432
either (pure . Left ) (fmap Right . f)
433
433
434
434
-- | Attempt to create a 'Config' from a 'Client.Options'. Useful if you
435
- -- want to create a database owned by a specific user you will also login
436
- -- with among other use cases.
435
+ -- want to create a database
436
+ --
437
+ -- * owned by a specific user you will also login with
438
+ -- * with a specific name (i.e. not the default name, "postgres")
439
+ --
440
+ -- among other use cases. Changing the 'connectionOptions' field of
441
+ -- 'Config' does /not/ achieve these results and you are likely to see
442
+ -- unexpected behaviour if you try to.
437
443
--
438
444
-- @since 1.21.0.0
439
445
optionsToDefaultConfig :: Client. Options -> Config
You can’t perform that action at this time.
0 commit comments