Do not prefer libedit over readline for tab completion and history
Tab completion does not work for centos 7 as reported in #8575 [https://github.com/greenplum-db/gpdb/issues/8575] and installing from the rpms. The root cause is that the binary is linked against libedit (v 0x402) which is providing the necessary `rl_line_buffer` yet with different contents from readline. In libedit, the variable contains the last flushed entry in the history file whereas in readline it contains the current line in the interactive terminal. It is not necessary to link with libedit on the build packages so the flag is removed. Reviewed-by: NBradford D. Boyle <bboyle@pivotal.io> (cherry picked from commit 3827c3a6)
Showing
想要评论请 注册 或 登录