Skip site navigation (1) Skip section navigation (2)

YA readline 4.2 patch

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: Pgsql-Patches <pgsql-patches(at)postgresql(dot)org>
Subject: YA readline 4.2 patch
Date: 2001-06-06 16:02:05
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
The attached patch enables PostgreSQL CVS to build cleanly under Cygwin
when built against readline 4.2.  Specifically, it handles the deprecation
with preference for


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) ...

Note that this patch is modeled after the one by Peter Eisentraut for

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
Director, Software Engineering       Phone: 732.264.8770 x235
Dot Hill Systems Corp.               Fax:   732.264.8798
82 Bethany Road, Suite 7             Email: Jason(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA                 WWW:


pgsql-patches by date

Next:From: Tom LaneDate: 2001-06-06 17:29:22
Subject: Patch to reduce WAL log space usage
Previous:From: Tom LaneDate: 2001-06-06 15:05:11
Subject: Re: Cursor support buffer patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group