fix(users/Profpatsch/MonadPostgres): make sure no rc file is used
Change-Id: Ia84de16fd41d00d81efd963f4ad42e069cf34ed5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11652 Reviewed-by: Profpatsch <mail@profpatsch.de> Autosubmit: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
a6b4134468
commit
e2a52407f8
1 changed files with 3 additions and 1 deletions
|
@ -660,7 +660,9 @@ pgFormatQueryByteString tools queryBytes = do
|
||||||
(exitCode, stdout, stderr) <-
|
(exitCode, stdout, stderr) <-
|
||||||
Process.readProcessWithExitCode
|
Process.readProcessWithExitCode
|
||||||
tools.pgFormat.toolPath
|
tools.pgFormat.toolPath
|
||||||
["-"]
|
[ "--no-rcfile",
|
||||||
|
"-"
|
||||||
|
]
|
||||||
(queryBytes & bytesToTextUtf8Lenient & textToString)
|
(queryBytes & bytesToTextUtf8Lenient & textToString)
|
||||||
case exitCode of
|
case exitCode of
|
||||||
ExitSuccess -> pure (stdout & stringToText)
|
ExitSuccess -> pure (stdout & stringToText)
|
||||||
|
|
Loading…
Add table
Reference in a new issue