pgsql: Use correct output device for Windows prompts.

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use correct output device for Windows prompts.
Date: 2013-01-24 21:02:13
Message-ID: E1TyTw5-0005F4-GF@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
REL8_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/de5104234d3ab66738ba17b4a02b139bbd841062

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2013-01-24 23:34:36 pgsql: Fix SPI documentation for new handling of ExecutorRun's count pa
Previous Message Andrew Dunstan 2013-01-24 21:02:10 pgsql: Use correct output device for Windows prompts.