Say "history is not supported" and remove "on this platform" for lack of
readline.
This commit is contained in:
parent
c62a5465fb
commit
d7e0ebdf8e
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
|
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
|
||||||
*
|
*
|
||||||
* $PostgreSQL: pgsql/src/bin/psql/input.c,v 1.39 2004/10/06 18:39:16 momjian Exp $
|
* $PostgreSQL: pgsql/src/bin/psql/input.c,v 1.40 2004/10/06 19:04:10 momjian Exp $
|
||||||
*/
|
*/
|
||||||
#include "postgres_fe.h"
|
#include "postgres_fe.h"
|
||||||
#include "input.h"
|
#include "input.h"
|
||||||
@ -210,7 +210,7 @@ saveHistory(char *fname)
|
|||||||
psql_error("could not save history to file \"%s\": %s\n", fname, strerror(errno));
|
psql_error("could not save history to file \"%s\": %s\n", fname, strerror(errno));
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
psql_error("history is not supported on this platform\n");
|
psql_error("history is not supported\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user