On Fri, Feb 18, 2011 at 02:01, <charles.mcdev...@emc.com> wrote: >> On 02/17/2011 12:34 PM, Bruce Momjian wrote: >> > Andrew Dunstan wrote: >> >> >> >> On 02/17/2011 12:13 PM, Bruce Momjian wrote: >> >>>> FWIW, the only interactively usable version of psql for windows I know >> >>>> of is the one that runs under Cygwin. It can be build with readline and >> >>>> works as expected. >> >>> Uh, don't we have a psql built via MSVC? Doesn't it work interactively? >> >> >> >> Not if you want readline. And in my book that's a requirement of a psql >> >> that's usable interactively. It's pretty horrible to use without it. >> > Well, as horrible as other Windows apps. I will leave others to decide >> > if that is usable. ;-) I am unclear if we would ship readline support >> > on Windows even if we didn't have a license issue (no OS readline >> > version on Windows). >> > >> >> Windows developers almost universally work from GUIs and not using >> console apps (and that's true of many Unix developers also, particularly >> those who can't recall a time when X-Windows wasn't almost universally >> available). Microsoft has de-emphasized console apps for 15 years. So >> the only people who are likely to be interested in using an enhanced >> psql on Windows are old Unix-heads like you and me. It's not worth a lot >> of effort, IMNSHO. >> >> cheers >> >> andrew >> > > I think this is wrong... There are plenty of people who use the command line > in Windows, and Microsoft has been adding better support for this, including > PowerShell and interfaces to every administrative operation from command line > scripts.
While I haven't used the latest version of powershell, my experience has always been that the focus has really been on scripts and not necessarily the interactive experience. > Psql on Windows is ugly... Readline does (supposedly) run on Windows, but no > one has done the work to get it to happen. Readline does not run on Windows, if you want to use any interesting keys. Such as the alt or alt-gr keys. Basically, readline for windows doesn't work outside of english locales... For example, you can't access any of the backslash commands in many locales, which makes psql a lot less useful... IIRC I even brought this up with the readline folks, and they simply don't give a **** about woe32 as they call it, so there should be no faith in that ever getting fixed. Granted, I haven't checked if they actually fixed it in the past couple of years, but there seemed to be zero interest before that a least. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers