How to use password with special chars in postgressql .pgpass file How to use password with special chars like repl#stg$12 in postgressql .pgpass file?
db1:5433:replication:repl:repl#stg$12
I added entry like this in .pgpass but it's prompting for password when I connect.
There's only one quoting rule for .pgpass according to the documentation:

 If an entry needs to contain : or \, escape this character with \.