index 6b1f78af0a43d9c8dafe6082e62e2357e629975f..7f4e2493cbe7cd1682635d65c11c91fb643089bc 100644 (file)
*
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/psql/input.c,v 1.48 2006年02月12日 05:24:38 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/input.c,v 1.49 2006年02月13日 14:57:15 tgl Exp $
*/
#include "postgres_fe.h"
}
-static void encode_history()
+#ifdef USE_READLINE
+static void encode_history(void)
{
HIST_ENTRY *cur_hist;
char *cur_ptr;
*cur_ptr = NL_IN_HISTORY;
}
-static void decode_history()
+static void decode_history(void)
{
HIST_ENTRY *cur_hist;
char *cur_ptr;
if (*cur_ptr == NL_IN_HISTORY)
*cur_ptr = '\n';
}
+#endif /* USE_READLINE */
/*
}
-
bool
saveHistory(char *fname)
{
}
-
static void
#ifdef HAVE_ATEXIT
finishInput(void)