Thread: pgsql-server/src/bin/psql command.c

pgsql-server/src/bin/psql command.c

From
momjian@postgresql.org (Bruce Momjian - CVS)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    momjian@postgresql.org    03/02/12 23:08:16

Modified files:
    src/bin/psql   : command.c

Log message:
    [ Have readline save edit history.]
    >
    > > I already posted a one-line patch to implement this, but it doesn't
    > > seem to hve come through to the list. Here it is inline, instead of as
    > > an attachment:
    >
    > We need this to work without readline as well.  (Of course there won't be
    > any history, but it needs to compile.)

    <blush> Even after slogging my way through the nesting #ifdefs for readline
    and win32, I forgot! Let's make that a three line patch, then.

    Ross J. Reedstrom