Fix improper initialization order for readline.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: acb6c64f4a3628ea7005b3c492633a71e52c95ff
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2015-12-17T21:55:39Z
Releases: 9.4.6
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.

Files

PathChange+/−
src/bin/psql/input.c modified +3 −1