diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2019-12-13 11:16:33 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2019-12-13 11:16:33 -0500 |
commit | 5e7bedc5adba570b526d89746201481616756779 (patch) | |
tree | 29e97d1d632e40a39c99490495e1caee6ae06280 /src/backend/access/gist/gist.c | |
parent | 22864f6e02f8fc19f6167442f13d1f917e36548e (diff) | |
download | postgresql-5e7bedc5adba570b526d89746201481616756779.tar.gz postgresql-5e7bedc5adba570b526d89746201481616756779.zip |
Modernize our readline API a tad.
Prefer to call "rl_filename_completion_function" and
"rl_completion_matches", rather than using the names without the rl_
prefix. This matches Readline's documentation, and makes our code
a little clearer about which names are external. On platforms that
only have the un-prefixed names (just some very ancient versions of
libedit, AFAICT), reverse the direction of the compatibility macro
definitions to match.
Also, remove our extern declaration of "filename_completion_function";
whatever libedit versions may have failed to declare that are surely
dead and buried.
Discussion: https://postgr.es/m/23608.1576248145@sss.pgh.pa.us
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions