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:
Profpatsch 2024-05-11 23:50:55 +02:00 committed by clbot
parent a6b4134468
commit e2a52407f8

View file

@ -660,7 +660,9 @@ pgFormatQueryByteString tools queryBytes = do
(exitCode, stdout, stderr) <-
Process.readProcessWithExitCode
tools.pgFormat.toolPath
["-"]
[ "--no-rcfile",
"-"
]
(queryBytes & bytesToTextUtf8Lenient & textToString)
case exitCode of
ExitSuccess -> pure (stdout & stringToText)