BUG #16688: psql removes only LF without CR at end of backquotes on windows.
The Post Office <noreply@postgresql.org>
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: kensuke.okamura@kantei.co.jp
Date: 2020-10-28T01:58:57Z
Lists: pgsql-bugs
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
Commits
-
Use mode "r" for popen() in psql's evaluate_backtick().
- cb0982ba9796 12.5 landed
- ba4f5413e357 13.1 landed
- aff06436caf8 9.5.24 landed
- 9eb2503391da 11.10 landed
- 66f8687a8ff8 14.0 landed
- 504f963f76f0 10.15 landed
- 204d77969560 9.6.20 landed