]> git.ipfire.org Git - thirdparty/postgresql.git/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)
commitb499cf8e83d121438f0b4ee80717323ee407abdc
tree9a456cf2e0cc6d44fa5595def5f201d57fc48c89
parent01910959504912f46d5d643d692ecd2ab7eabd5d
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