pgsql: Fix improper initialization order for readline.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix improper initialization order for readline.
Дата
Msg-id E1a9gWr-0007sw-9B@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix improper initialization order for readline.

Turns out we must set rl_basic_word_break_characters *before* we call
rl_initialize() the first time, because it will quietly copy that value
elsewhere --- but only on the first call.  (Love these undocumented
dependencies.)  I broke this yesterday in commit 2ec477dc8108339d;
like that commit, back-patch to all active branches.  Per report from
Pavel Stehule.

Branch
------
REL9_4_STABLE

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

Modified Files
--------------
src/bin/psql/input.c |    4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix improper initialization order for readline.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix improper initialization order for readline.