about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/Profpatsch/my-prelude/src/Postgres/MonadPostgres.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/users/Profpatsch/my-prelude/src/Postgres/MonadPostgres.hs b/users/Profpatsch/my-prelude/src/Postgres/MonadPostgres.hs
index 8d82eb553bd0..61428205c15f 100644
--- a/users/Profpatsch/my-prelude/src/Postgres/MonadPostgres.hs
+++ b/users/Profpatsch/my-prelude/src/Postgres/MonadPostgres.hs
@@ -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)