Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • Try to escape the $-signs to prevent local expansion. Commented Dec 11, 2021 at 20:29
  • @RudiC that's an answer: please post it as an answer and not a comment. Posting answers in comments is actively harmful since people cannot vote on them, so it circumvents the normal quality control processes of the site, and they can also discourage others from posting the solution as a proper answer meaning the question can remain unanswered for ever. Commented Dec 11, 2021 at 21:02
  • @roaima see above. Commented Dec 11, 2021 at 21:03
  • @RudiC, Tried '"PGPASSWORD=\$DB_PASS' but this didn't work. Commented Dec 11, 2021 at 21:12
  • @roaima, can you post the command that you mean? The issue is I already have single quotes in the expression itself. I tried to escape them with "\'" but that didn't work. Commented Dec 11, 2021 at 21:16