The following bug has been logged on the website:
Bug reference: 16688
Logged by: Kensuke Okamura
Email address: kensuke.okamura@kantei.co.jp
PostgreSQL version: 9.5.5
Operating system: Windows
Description:
psql removes only LF without CR at end of backquotes on windows.
example:
# \echo x`ECHO abc`x
return:
xabc\rx