Here's the patch I promised over on HACKERS - it alters the
Bruce Momjian <bruce@momjian.us>
Here's the patch I promised over on HACKERS - it alters the implementation of '\e' history tracking for systems that have a readline compatability library without replace_history_entry. I fall back to pushing the query onto the history stack after the \e, rather than replacing it. The patch adds one more place to look for readline headers, and a test for replace_history_entry. I've only included the patch for configure.in Ross J. Reedstrom
Files
| Path | Change | +/− |
|---|---|---|
| configure.in | modified | +8 −5 |
| src/bin/psql/command.c | modified | +6 −1 |
| src/bin/psql/input.h | modified | +5 −1 |
| src/include/pg_config.h.in | modified | +10 −1 |