win32 readline

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: <pgsql-patches(at)postgresql(dot)org>
Subject: win32 readline
Date: 2004-07-15 20:14:41
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE34BE7A@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Readline is pretty badly broken under mingw. Basically, it disables the
alt-gr key, which renders psql almost useless on most locales (no way to
type backslash, and a whole lot of other characters, for example).

This patch disables readline on win32. (meaning it's back to working the
way it did in <= 7.4, since msvc compiles have never supported readline)

The patch also contains two definitions for win32/port/security.c that
were for some reason not included when the rest of the win32-admin-check
patch was applied earlier, that I stumbled on while making this patch.

//Magnus

Attachment Content-Type Size
readline_win32.patch application/octet-stream 971 bytes

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2004-07-15 21:01:51 initdb authentication
Previous Message Simon Riggs 2004-07-15 19:35:27 Re: Point in Time Recovery