pgsql: Use correct output device for Windows prompts. - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Use correct output device for Windows prompts.
Date
Msg-id E1TyTw0-0005EM-AR@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/474cfc390a83964f9e2154ada5d28e6cc7c4a395

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(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Use correct output device for Windows prompts.
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Use correct output device for Windows prompts.