postgresql/src
Bruce Momjian 92f450652c The attached patch enables PostgreSQL CVS to build cleanly under Cygwin
when built against readline 4.2.  Specifically, it handles the deprecation
of

    filename_completion_function()

with preference for

    rl_filename_completion_function()

Although, I was motivated by Cygwin support, IMO this patch is appropriate
for all platforms.  To quote from the readline source:

    #if 0
    /* Backwards compatibility (compat.c).  These will go away sometime. */
    ...
    extern READLINE_EXPORT(char, *filename_completion_function) ...
    #endif

Note that this patch is modeled after the one by Peter Eisentraut for
completion_matches():

    http://www.ca.postgresql.org/~petere/readline42.html
I tested this patch under the following environments:

    Cygwin with readline 4.1
    Cygwin with readline 4.2
    Linux with readline 2.2.1
    Linux with readline 4.2

and it behaved as expected.

Jason Tishler
2001-06-11 22:12:48 +00:00
..
backend Nest macros with slightly less enthusiasm, for performance and to avoid 2001-06-11 05:00:56 +00:00
bin The attached patch enables PostgreSQL CVS to build cleanly under Cygwin 2001-06-11 22:12:48 +00:00
corba Convert files from DOS format to normal text. 2000-12-03 14:43:59 +00:00
data I've sent 3 mails to pgsql-patches. There are two files, one for doc 1999-08-16 20:27:19 +00:00
include The attached patch enables PostgreSQL CVS to build cleanly under Cygwin 2001-06-11 22:12:48 +00:00
interfaces Got two patches that were found by folks on the Castor list, that we'd like to 2001-06-11 22:12:00 +00:00
makefiles See attached for a small patch that enables plpython to build cleanly 2001-05-25 15:48:33 +00:00
pl Fix a few missed NOIND usages. 2001-06-09 02:19:07 +00:00
template Back out qnx plpgsql/Makefile change and move to src/Makefile. 2001-05-24 22:33:18 +00:00
test Allow GRANT/REVOKE to/from more than one user per invocation. Command tag 2001-06-09 23:21:55 +00:00
tools pgindent fix for asterisk indented too much in return type, for Tom. 2001-06-06 20:51:31 +00:00
tutorial pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
utils pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
DEVELOPERS just testing a script... 1999-07-30 03:45:57 +00:00
GNUmakefile.in Restructure the key include files per recent pghackers discussion: there 2001-02-10 02:31:31 +00:00
Makefile Restructure the key include files per recent pghackers discussion: there 2001-02-10 02:31:31 +00:00
Makefile.global.in Native Language Support (NLS) 2001-06-02 18:25:18 +00:00
Makefile.shlib Shared library and GCC support for SCO OpenServer. 2001-05-07 20:43:28 +00:00
nls-global.mk Native Language Support (NLS) 2001-06-02 18:25:18 +00:00
win32.mak Hi! 2000-01-18 19:05:31 +00:00