pgsql: Use correct output device for Windows prompts.

Started by Andrew Dunstanover 13 years ago1 messagescomitters
Jump to latest
#1Andrew Dunstan
andrew@dunslane.net

Use correct output device for Windows prompts.

This ensures that mapping of non-ascii prompts
to the correct code page occurs.

Bug report and original patch from Alexander Law,
reviewed and reworked by Noah Misch.

Backpatch to all live branches.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/6c77ce328f8f26ef7acb19287890f7522b8d1869

Modified Files
--------------
src/bin/psql/command.c | 11 +++++++++++
src/include/port.h | 3 ---
src/port/sprompt.c | 33 ++++++++++++++++++++++++++++++---
3 files changed, 41 insertions(+), 6 deletions(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers