]> granicus.if.org Git - postgresql/commit
Use correct output device for Windows prompts.
authorAndrew Dunstan <andrew@dunslane.net>
Thu, 24 Jan 2013 21:01:31 +0000 (16:01 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Thu, 24 Jan 2013 21:01:31 +0000 (16:01 -0500)
commit57d294a18891ef843c9c24f3f9f3076fa2cfcc23
tree417c320ea54a366d7f8222772426115afb404a88
parent62b9e3a0ff2d9964e30635ceca825340e71087e1
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.
src/bin/psql/command.c
src/include/port.h
src/port/sprompt.c